BASIC
DEFDBL letter range
Causes variables
beginning with any letter in the specified range
to be stored and
treated as double-precision,
unless
a type declaration
character
is added. Double
precision allows
1 7 digits of precision;
1 6
digits
are
displayed
when
a
double
precision variable
is PRINTed.
Example:
10
DEFDBL
S-Z, A-E
Causes variables
beginning with one of the letters
S
through Z
or A through E to be
double precision.
DEFDBL
is
normally used at the beginning
of a program, because
it
may change the
meaning of
variable references without
type declaration characters.
SeeDEFINT, DEFSNG, and
Chapter 15.
DEFSTR letter
range
Causes variables
beginning with one of the letters in the specified
range to be stored
and treated as strings,
unless a type
declaration character is added. If you have
CLEARed enough
string storage
space, each string can store up to 255 characters.
Example:
10
DEFSTR L-Z
Causes variables beginning with
any letter L through Z to be string
variables
,
unless
a type declaration character
is added
.
After line
1 is executed, the assignment
LI
=
"WASHINGTON"
will be valid.
See CLEAR n
,
Chapters 1
5
and
1 9
.
149