-
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
Rdirective must be in quotes. Otherwise SE Basic IV would treat it as a variable.
-
file_spechas a numeric value: Type mismatch. -
file_speccontains disallowed characters: Bad file name. - The file specified in
file_speccannot be found: File not found. - A loaded text file contains lines without line numbers: Direct statement in file.
- Press
RETURNto return to this menu. - Enter the name of a
TOPICto display it. - Enter
EXITto return to BASIC.
Choose from the following topics: