Skip to content

if (encounter == encounter) { ... }. // can't compare orbitinfo to orbitinfo ... #285

Description

@weissel
if (encounter == "Minmus") { ... }.   // works

set x to "Minmus".
if (encounter == x) { ... }.    // works, too

set x to encounter.
print x.    // Minmus
if (encounter == x) { ... }. 
    // fails: "Can't compare orbitinfo to orbitinfo using =="

if (encounter == encounter) { ... }.
    // fails: "Can't compare orbitinfo to orbitinfo using =="

I was kinda hoping I could autodetect the present encounter and check if it's still there and the same after tweaking the node ...

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions