@head @module std @title Class std::Constant @index Constant

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: @example const Blue, Red Print(Blue) -- Print "Blue" @end @class Constant @desc The Constant type. This type object cannot be used to create instances of the type (see above). @end

Operations

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