qb45advr.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.
Variable-Type Memory Requirements
  Data Types   Memory Requirements   Contents   Index
──────────────────────────────────────────────────────────────────────────────
         AS Type              Variable            Size
Suffix   Name      DEFtype    Type                of Data
 
  %      INTEGER   DEFINT     Integer             2 bytes
  &      LONG      DEFLNG     Long integer        4 bytes
  !      SINGLE    DEFSNG     Single precision    4 bytes
  #      DOUBLE    DEFDBL     Double precision    8 bytes
 
  $      STRING    DEFSTR     Variable-length     Takes 4 bytes for
                              string              descriptor, 1 byte for
                                                  each character in string
 
  $      STRING*num           Fixed-length        Takes num bytes
                              string
 
         Declared user-                           Takes as many bytes as
         defined type                             the individual elements
                                                  require