MTS 8: LISP and SLIP in MTS
June 1976
New SLIP Functions __________________
Several functions have been added to the SLIP repertoire for the IBM
SYSTEM/360/370 version:
DATUM(A) and IDATUM(A)
These functions are identical; the two names making it convenient
for INTEGER/REAL conventions. DATUM should normally be declared
DOUBLE PRECISION and IDATUM should be declared INTEGER. The value
of DATUM is the datum contained in the SLIP cell whose cell name is
A. The value of IDATUM(A) is the contents of the leftmost word of
the datum in the SLIP cell whose cell name is A.
REALL(Y)
This function is similar in purpose to INTGER. Y is assumed to be
a fullword quantity (integer or real). The value of REALL(Y) is a
doubleword consisting of Y in the left word and 0s in the right
word.
REALS(D)
This function is similar in purpose to INTGER and REALL. The
argument is assumed to be DOUBLE PRECISION (but could be REAL or
INTEGER). The mode of the function is REAL and it returns the
leftmost word of the argument without conversion.
SLPDMP
This subroutine gives a dump of all SLIP storage in a format
oriented toward the SLIP structure. It is considerably easier to
use than a regular memory dump.
SETRAC
This function, whose arguments are the same as those of INITAS,
sets the SLIP system to give a dump (via SLPDMP) if an error
requiring program termination is detected (e.g., exhausting the
available SLIP storage).
F4TRBK
This subroutine should be used as an error exit. A function and
subroutine traceback and a SLIP dump may be obtained.
MRK(D)
This function retrieves the MRK field of the doubleword D.
142 SLIP