Skip to content

Definition

Bill Hails edited this page Jun 28, 2018 · 5 revisions

Variables can be created with define, but it is illegal to redefine a variable in the same scope:

define x = 12; // ok
define x = 14; // error

but

define y = 12; // ok
{
    define y = 14; // ok
}
y; // 12

As a convenience, the keyword define may be omitted, and so:

y = 12;

is rewritten internally to the define form by the parser.

The language does not permit variable assignment.

Up: Home

Next: Functions

Clone this wiki locally