qck.hlp (Table of Contents; 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.
Type-Declaration Suffixes
                                                 Contents  Index  Back
──────────────────────────────────────────────────────────────────────────────
 Type-Declaration Suffixes
 
 ■ Although not required, type-declaration suffixes can be used to identify
   a data type by appending a special character to the variable name. For
   example, any of the following suffixes identifies a data type:
 
   Suffix     Data Type Keyword     Description
   ══════     ═════════════════     ════════════════════════════════════════
   %          INTEGER               2-byte signed integer
   &          LONG                  4-byte integer
   !          SINGLE (default)      4-byte single-precision floating-point
   #          DOUBLE                8-byte double-precision floating-point
   @          CURRENCY              8-byte integer
   $          STRING                String up to 32,767 characters
 
 ■ Use the DIM statement to define variable types without using a type-
   declaration suffix. For example:
 
         DIM X AS STRING
 
   See: DIM Statement
 
 ■ There are no type-declaration suffixes for forms, controls, or user-
   defined types.
 
 ■ I%, I&, I!, I#, I@, and I$ are all distinct variables, and each can hold
   a different value.
 
 ■ Use DEFtype declaration statements to change the default type for a
   range of variable names. See: DEFtype Statements
 
 See: Basic Data Types Summary