std::Constant class

Instances of the Constant type are symbolic constants. They can only be constructed by defining global constants without initialization expressions.

This example defines two Constant objects:

const Blue, Red

def Main()
  WriteLn(Blue)     -- Print Blue
end
class Constant
The Constant type. This type object cannot be used to create instances of the type (see above).

Operations

Str(constant)
Return a string containing the fully qualified name of the constant.
constant == x
A constant object is equal only to itself.