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.
Data Type Keywords
◄Contents► ◄Index► ◄Back►
──────────────────────────────────────────────────────────────────────────────
■ Specifies the type (INTEGER, LONG, SINGLE, DOUBLE, STRING,
CURRENCY, or a user-defined type) for a variable in a declarative
statement or parameter list. Types are:
■ INTEGER A 16-bit signed integer variable.
■ LONG A 32-bit signed integer variable.
■ SINGLE A single-precision floating-point variable.
■ DOUBLE A double-precision floating-point variable.
■ STRING A string variable in a COMMON, DIM, REDIM, SHARED,
or STATIC statement. If STRING is followed by n, the
string has a fixed length of n bytes. If STRING is not
followed by n, the string is variable-length.
■ CURRENCY An 8-byte signed integer variable with up to
four digits to the right of the decimal point;
15 digits to the left of the decimal point.
See Also ◄AS► ◄COMMON► ◄DECLARE► ◄DEF FN► ◄DIM►
◄FUNCTION► ◄SHARED► ◄STATIC► ◄SUB► ◄TYPE►