Standard mumbleSoft-like Basic Commands
Load a program into memory from the named file. The program previously in memory is erased. All files are closed and all variables are cleared. Lines beginning with the '#
' character will be treated as comments. All other lines in the file must begin with a line number. Duplicate line numbers are not allowed.
Save the current program to the named file.
Erase the program in memory. All files are closed and all variables are cleared
All variables are cleared. All arrays and string variables are deallocated.
Begin execution of the program at the first line, or at the specified line. All variables are cleared. If a STRINGEXPR
is given then the BASIC program with that name file is loaded into memory first. Program lines are executed in line number order.
CONT
inue execution of the program on the next statement after the statement on which the program stopped execution due to a STOP
command or an error. See BUGS section.
Enters a program line. If a program line with line number LINENUM
exists, then it is replaced. If no TEXT
is given, the the program line with line number LINENUM
is deleted.
List the whole program. Line numbers above 999999999 will not list.
List lines 1 to 2
List lines up to 1
List line 1
List lines from 2 on
Loads a program into memory. The previous program remains in memory; variables are not cleared. If a line exists in both programs, the new merged line overwrites the old one.
Renumber program lines. By default, the new sequence is 10,20,30,... The first argument is a new initial line number; the second argument is the increment between line numbers. The third and fourth arguments, if present, specify a limiting range of old line numbers to renumber. Renum
can be used to move non-overlapping blocks of code.
Brings up a very Old-style line editor.
Edit a single line. Enter return to finish. If the exit from edit mode is via a cntrl-c
or 'q
', then do not change the line.
i
- insert till ESCx
- delete one charA
- append to end of lineDelete a line or specified range of lines. If not found then no lines will be deleted.
Terminates the basic interpreter, ending program execution and closing all files.