Basic
RND
[(number)]
Returns a random number between
0
and
1.
If
number
is negative, RND starts the sequence of random numbers
at the beginning. If
number
is
0,
RND repeats the last number
generated.
PRINT
RND(1)
A
=
RND(0)
RSET
field
name
=
data
Sets
data
in a direct access buffer
field
name
in preparation for a
PUT statement.
RSET
A$=
CVI(Z)
RUN
[line]
RUN
pathname[,R]
Executes a program.
Line
is the program line at which BASIC begins
execution. Default
=
first line.
If
you specify the
R
option, BASIC does not close the open files
before loading the new program into memory.
If
you omit the R op-
tion, BASIC closes all open files before loading the program.
RUN RUN
100
RUN "program.a"
SAVE
pathname
[,A]
SAVE
pathname
[,PI
Saves a program on disk with the specified name.
The A option saves the program in ASCII format. Default
=
com-
pressed format.
The
P
option saves the file in an encoded binary format. The only
operations that can be performed on the file are RUN, LOAD, and
CHAIN.
SAVE
"A:
f
i
le1
.bas"
SAVE ll\EDUC\mathpak.txtlo,
A
Tandy
1000
61