qb45advr.hlp (Topic list)
Type Declaration Suffixes
  Declaring Simple Variables   Suffixes   Contents   Index
──────────────────────────────────────────────────────────────────────────────
Type Declaration Suffixes
 
Append one of the following type-declaration suffixes to the variable name:
%, &, !, #, $.
 
The dollar sign ($) is the type-declaration character for string variables.
You can assign a string constant to the variable of up to 32,767
characters, as in the example below.
 
  A$ = "SALES REPORT"
 
Numeric-variable names can declare integer values (denoted by a % suffix),
long-integer values (denoted by a & suffix), single-precision values
(denoted by a ! suffix), or double-precision values (denoted by a #
suffix).
 
Single precision is the default for variables without a type suffix.
 
There is no type declaration character for a user-defined type.