A conditional constant declares an identifier (which may match keywords) in a per-file conditional compilation declaration space. The scope of the constant is the entire source file in which the constant is defined, although previous to its textual declaration the constant contains Nothing
. Conditional constant names may be used without having being declared – in that case, the constant always contains Nothing
. The compilation environment may also define any number of conditional constants in the conditional compilation declaration space.
The conditional constant may be assigned any constant expression. All conditional constants are considered to be of type Object
.
#
Const
IdentifierOrKeyword =
ConstantExpression LineTerminator