Basic
RESTORE [line]
Restores a program's access to previously read DATA statements.
Line
specifies the DATA statement to be accessed at the next READ
statement. Default
=
first DATA statement.
RESTORE
RESUME [line]
RESUME NEXT
Resumes program execution after an error-handling routine.
RESUME line branches to the specified line number. Default
=
line
in which the error occurred. RESUME NEXT branches to the state-
ment following the point
at
which the error occurred.
RESUME RESUME
10
RESUME NEXT
RETURN [line]
Returns control from a subroutine executed by a GOSUB to the
specified line. Default
=
line immediately following the GOSUB.
RETURN RETURN
40
RIGHT$(string, number)
Returns the specifed number of characters from the far right por-
tion of string. Number must be an integer in the range
1
to
255.
PRINT RIGHT$ ("WATERME LON",
5)
P R
I
N
T
R
I
G H
T$
(
"PU PPY
I),
2
5 1
RMDIR
dirpath
Removes (deletes) the directory specified by dirpath. The directory
being deleted must be empty except for the
"."
and
".."
symbols.
Use the MS-DOS
COPY
command or the
KILL
statement to remove
files from the directory.
RMDIR "NAMES"
RMDIR "A: \ACCTS\PAYAB LE"
60
Tandy
1000