Class std::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:
const Blue, Red Print(Blue) -- Print "Blue"
- class Constant
- The Constant type. This type object cannot be used to create instances of the type (see above).
Operations
- constant == x
- A constant object is equal only to itself.
- Str(constant)
- Return a string containing the fully qualified name of the constant.