CONST
Syntax
CONST symbolname = value
Description
Declares compiler-time constant symbols that can be an integer.
Example
CONST Count = 5
FOR I = 1 TO Count
PRINT I
NEXT I
-- will
print out
1
2
3
4
5
Differences from other BASICs
- Visual BASIC allows more complex CONST declarations
- syntax in PBASIC is symbolname CON value (which is currently accepted by ARMbasic)