
Selecting libraries
* LIB
You can change your currently selected library using *LIB, just
as you can use *DIR to change your currently selected directory.
Type:
*LIB <library name>[RETURN]
EXAMPLE
You have several machine-code programs, which you have filed
in a directory called PROGS. When you want to use them, you
switch your currently selected library to PROGS.
Type:
*LIB PROGS[RETURN]
Recording
*SPOOL and *EXEC
keystrokes in files
The *SPOOL command stores in a file everything you type in
while the file is open — that is, it creates a file that records all
your keystrokes. You open the file by
typing: *SPOOL <filename>[RETURN]
The file you have opened will contain everything that's
displayed on your screen from now until you close it. Close it
by
typing: *SPOOL[RETURN]
The *EXEC command reads a file you specify as if its contents
were being typed in at the keyboard.
Type:
*EXEC <filename>[RETURN]
One use of *SPOOL and *EXEC is to save you repeatedly
typing the same sequence of commands. You:
■
open a *SPOOL file
■
type in the sequence of commands
■
close the *SPOOL file
■
*EXEC the file whenever you want to use the sequence.
35