MTS 8: LISP and SLIP in MTS
June 1976
Type I Status Codes--Buffer, File, Array, and Atom Characteristics __________________________________________________________________
Code Meaning ____ _______
1 This status code is used to get or set the error atom
associated with a particular error number. (See the subsec-
tion "Error Recovery and Debugging Procedures" above for an
explanation of the error atom.) The get form is (STATUS (1
N)), which will return the error atom associated with error
number n. The set form is (STATUS (1 N A)), which will set
A to be the new error atom associated with error number N.
From that time on, a type N error will cause the value of A
to be used as the error form.
2 This status code is used to get or set the READMACRO switch
for an atom. Its argument must be an atom. If the
READMACRO switch is NIL, then the atom will not be recog-
nized as a READMACRO. If the switch is non-NIL, then
whenever the atom appears as part of an S-expression which
is read in, it will be treated as a READMACRO as described
in the subsection "READMACRO and PRINTMACRO Functions." The
initial value of this parameter for all atoms is NIL.
3 (Reserved.)
4 This status code is used to get or set the PRINTMACRO switch
for an atom. It has the same significance as the READMACRO
switches, except that if this switch is enabled, whenever
the atom is printed into a buffer, the atom will be treated
as a PRINTMACRO as described in the subsection "READMACRO
and PRINTMACRO Functions."
5 This status code is used to get or set the disposition of
characters in the READ scan table. It allows the user to
alter LISP syntax. The argument must be a literal atom.
The parameter value given will replace the scan table value
for the first character of that atom. The legal scan table
values, and their significance to READ, are as follows:
0 Insignificant characters (e.g., blanks).
4 Left parenthesis "(".
8 Right parenthesis ")".
12 End-of-line (or semicolon).
16 Period. Signifies dotted-pair or number.
20 Plus sign "+". Signifies beginning of a number.
24 Minus sign "-". Signifies beginning of a number.
28 Single character atom (for READMACRO characters.)
32 Quote character. Special processing.
36 Number starter (0-9).
40 Literal starter (A-Z).
44 Quote character. Special processing.
48 Left angle bracket "".
52 Right angle bracket "".
68 LISP