Variables

new

Placeholder for an uninitialized variable.

Syntax

define <type> <name> is new;

How she behaves

  • Creates the binding without a usable value yet.
  • You must redefine it before you rely on the value.
  • Common with tryparse helpers, which write into an existing slot.
  • This is not newobj. new is an empty chair. newobj builds an object from a class.

Example

define num parsing is new;
define boolean success is new;

See also