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.
Name, String, and Number Limits
  Contents  Index  Back
──────────────────────────────────────────────────────────────────────────────
                             Maximum                  Minimum
                             ══════════════════════   ═══════════════════════
 Variable-name length        40 characters             1 character
 String length               32,767 characters         0 characters
 Integers                    32,767                   -32,768
 Long integers               2,147,483,647            -2,147,483,648
 Single-precision numbers:
   Positive                  3.402823E+38              2.802597E-45
   Negative                 -2.802597E-45             -3.402823E+38
 Double-precision numbers:
   Positive                  1.79769313486231D+308     4.940656458412465D-324
   Negative                 -4.940656458412465D-324   -1.79769313486231D+308