BSD 3 development
[unix-history] / usr / src / cmd / apl / documents / apl.2
APL System commands.
There are a whole bunch of them. Most are pretty familiar.
)DIGITS n
sets the number of digits displayed to n, from 1 to 19.
)FUZZ n
sets the fuzz to n.
)ORIGIN n
sets the origin to n, which can be any integer, not just 1 or 0
)WIDTH n
sets APL's idea of your terminal's carriage width.
)ERASE n
gets rid of function or variable named n.
)SAVE n
saves all variables and functions in file named n.
The format used is peculiar to APL workspaces and can only
be read back in by APL.
)LOAD n
gets the stuff in file n (which must have been saved) back.
)COPY n
like )LOAD but variables and functions are not erased. Things
in the loaded file take precedence over stuff already in.
)CLEAR
discards everything.
)DROP n
deletes file n, which need not be saved from APL.
)CONTINUE
does what you'd expect.
)OFF
exits, as does ctrl/d.
)READ n
reads in a function from file n. The first line is the header,
with no del's. The full APL\360 header is accepted. All other
lines in the file are lines in the function. Lines are impli-
citly numbered, and transfers are as usual.There are no labels.
)EDIT n
runs the UNIX editor on file n, and then READ's it when
you leave the editor.
)LIB
lists out all of the files in the current directory.
)FNS
lists out all current functions.
)VARS
lists out all current variables.
)DEBUG
toggles a debugging switch, which can produce vast amounts
of hopelessly cryptic output.
If you find bugs, have comments, or anything else having to do
with APL, please mail them to user "apl".