Important Notice
The pages on this site contain documentation for very old MS-DOS software,
purely for historical purposes.
If you're looking for up-to-date documentation, particularly for programming,
you should not rely on the information found here, as it will be woefully
out of date.
CONST Statement QuickSCREEN
◄QuickSCREEN► ◄Details► ◄Example► ◄Contents► ◄Index►
──────────────────────────────────────────────────────────────────────────────
CONST - a non-executable statement that declares symbolic constants
to use in place of numeric or string values
Syntax
CONST constantname = expression [,constantname = expression]...
■ constantname is a name following the same naming rules as a BASIC
variable. You may add to the name a type-declaration character
(%, &, !, #, or $) to indicate its type (this character is not
part of the name).
■ expression consists of literals, other constants, or any of the
arithmetic and logical operators except exponentiation (^).