Chapter
10
I
BASIC Keywords
DE FDBL/INT/SNG/STR Statement
DEFDBL
letter[,letter,
...I
DEFINT
letter[,letter,.
.
.I
DEFSNG
letter[,letter,
...I
DEFSTR
letter[,letter,
...
1
Defines any variables beginning with
letteris)
as: double preci-
sion (DBL), integer (INT), single precision (SNG),
or
string
(STR).
You may specify
letter
as
a range of letters.
For
example,
A-J.
Remember,
a
type declaration tag always takes precedence over
a
DEF
statement.
Examples
DEFDBL L-P
classifies all variables beginning with the letters
L
through
P
as
double precision variables.
DEFSTR
A
classifies all variables beginning with the letter
A
as
string
variables.
DEFINT I-N,
W,Z
classifies all variables beginning with the letters
I
through
N,
W,
and
Z
as
integer variables.
DEFSNG
I,
Q-T
classifies all variables beginning with the letters
I
or
Q
through
T
as single precision variables.
136