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.
Literal Constants
◄Contents► ◄Index► ◄Back►
──────────────────────────────────────────────────────────────────────────────
Literal Constants
■ Literal constants can be either numeric or string:
Type Description
═══════ ═══════════════════════════════════════════════════════════════
Numeric Any valid integer, long integer, single-precison, double-
precison, or currency format number. No comma formatting is
allowed; hexadecimal and octal representations can be specified.
For example:
&hzc& -3.71298# -21993
5.2! &o1& 8561%
2e3 33.65@ 4D-1
See: ◄Numeric Constants►
String Up to 32,767 characters, including regular or extended ASCII
codes between 0 and 255 (excluding the double-quotation
character (") and carriage return-linefeed sequences).
For example:
HELLO 25,000.000 Number of Employees
See: ◄ASCII Character Codes► ◄Constants Summary► ◄Basic Data Types Summary►