qbasic.hlp (Topic list)
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►
──────────────────────────────────────────────────────────────────────────────
Specify the data type for a variable in a declarative statement or
parameter list:
 
    ■ INTEGER      A 16-bit signed integer variable.
    ■ LONG         A 32-bit signed integer variable.
    ■ SINGLE       A single-precision 32-bit floating-point variable.
    ■ DOUBLE       A double-precision 64-bit floating-point variable.
    ■ STRING * n%  A fixed-length string variable n% bytes long.
    ■ STRING       A variable-length string variable.
 
See Also    ◄AS►          ◄Basic Character Set►         ◄COMMON►
            ◄DECLARE►     ◄DEF FN►                       ◄DIM, REDIM►
            ◄FUNCTION►    ◄SHARED, STATIC►               ◄SUB►
            ◄TYPE►