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.
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.