Basic
DEFSNG letter [,letter,
...I
Defines any variables beginning with
letter($
as single precision
variables.
DEFSNG
T
DEFSNG
Q-2
DEFSTR letter [,letter,..]
Defines any variables beginning with
Letter($
as string variables.
DEFSTR
A
DEFSTR G-M
DEF FNname [(argument List)]
=
expression
Defines
name
as a function according to
expression.
Name
is a valid variable name.
Argument list
is
a list
of
dummy variables used in
expression.
They
are replaced on a one-to-one basis with the variables or values given
when the function is called.
Expression
defines the operation to be performed.
DEF FNR
=
RND(1)*69+10
DEF FNW#
(A#,B#>=(A#-B#>"2
DEF SEG[
=
address]
Assigns the current segment address. The segment address is used
by
BLOAD, BSAVE, CALL, PEEK, POKE, and
USR.
Address
is an integer in the range
0
to 65535.
Address
must be on
a 16-byte boundary. Default
=
BASIC's data segment (DS).
DEF SEG DEF SEG=&HB800
Tandy
1000
27