Constants Summary
◄Contents► ◄Index► ◄Back►
──────────────────────────────────────────────────────────────────────────────
Constants Summary
■ Constants are predefined values that do not change during program
execution.
■ Once defined, you can use the constant rather than the value it represents
to make your code more readable. For example, the CONSTANT.BI file defines
the constants:
TRUE = -1
FALSE = 0
See: ◄CONSTANT.BI File►
■ There are two types of constants, literal and symbolic:
• Literal constants may be either string constants or numeric constants.
• Symbolic constants, represented by a symbol rather than the literal
constant itself, are defined using the CONST statement.
See: ◄CONST Statement►
See: ◄ControlPanel Constants► ◄Literal Constants► ◄Numeric Constants►
◄Symbolic Constants► ◄Scope Rules►