Unbound Variable#

Severity: (Error) Output was discarded or should be discarded -- it is not usable

Explanation#

An identifier (for example, a function or variable name) was used, but has not been previously defined.

Advice about this Orc compiler message is below. Since people use Orc in various ways, we've given you the power to enhance this write-up with your perspective. Edit

Possible Causes#

  • Typographical error.
  • Use of an identifier outside of the scope of its declaration.
  • Omitted import or include declaration.

Advice#

  • If the identifier was defined earlier in this program, check that the identifier's spelling matches at the point of declaration and point of use.
  • Also, if the identifier was defined earlier in this program, check that the point of use is in the scope of the declaration. For example, in F >x> G, the x identifier can only be used in the expression G. Sometimes, mismatched parenthesis or misunderstood precedence can cause a problem here.
  • If the identifier was intended to refer to a declaration supplied by another file, check that you have included the correct file. If the identifier was intended to refer to a site (or class), check that you have imported the site or class.

See other Orc messages

Add new attachment

Only authorized users are allowed to upload new attachments.
« This page (revision-17) was last changed on 03-Oct-2013 06:41 by John Thywissen