-
Notifications
You must be signed in to change notification settings - Fork 0
LOAD
Andrew Owen edited this page May 30, 2023
·
2 revisions
LOAD file_spec [,{"R"|"T"}]
Loads the program stored in a file into memory. Existing variables will be cleared and any program in memory will be erased. LOAD
implies a [CLEAR](CLEAR)
.
If ,"R"
is specified, keeps all data files open and runs the specified file.
If ,"T"
is specified, loads a tokenized program.
The string expression file_spec is a valid filespec indicating the file to read the program from.
- Unlike Microsoft BASIC, SE Basic IV always expects BASIC programs to be in plain text format.
- Unlike Microsoft BASIC, the
R
directive must be in quotes. Otherwise SE Basic IV would treat it as a variable.
-
file_spec
has a numeric value: Type mismatch. -
file_spec
contains disallowed characters: Bad file name. - The file specified in
file_spec
cannot be found: File not found. - A loaded text file contains lines without line numbers: Direct statement in file.
- Press
RETURN
to return to this menu. - Enter the name of a
TOPIC
to display it. - Enter
EXIT
to return to BASIC.
Choose from the following topics: