MTS 8: LISP and SLIP in MTS
June 1976
┌──────────────────────────────────────────────────────────────┐ ┌ ┌
| | Original New | Original New |
| Original | list list | list list |
| | changed with | changed with |
| List | after new | after new |
| | NULSTR Header | NULSTL Header |
|────────────┼────────────────────────┼────────────────────────| ┌ ┘
| ┌────────┐ | ┌────────┐ ┌────────┐ | ┌────────┐ ┌────────┐ |
| | | | | | | | | | | | | |
| | HEADER | | | HEADER | | HEADER | | | HEADER | | HEADER | |
| | | | | | | | | | | | | |
| └────────┘ | └────────┘ └────────┘ | └────────┘ └────────┘ |
| | | |
| ┌────────┐ | ┌────────┐ | ┌────────┐ |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| |────────| | └────────┘ ┌────────┐ | |────────| | ┌ ┘ ┌ ┘
| | | | | | | | | |
| | | | | | | | | |
| |────────| | |────────| | ┌────────┐ └────────┘ | ┌ ┘ ┌ ┘
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| └────────┘ | └────────┘ | └────────┘ |
| | | |
└──────────────────────────────────────────────────────────────┘ ┘ ┘
Figure 1: The Result of NULSTR and NULSTL Operations
The function
LSTEQL(LST1, LST2)
compares two list structures with aliases LST1 and LST2. If the two are
identical in structure and content, the returned value is 0; otherwise
it is -1. Description Lists and List Marks (see the subsection "List
Marks and Description Lists") are not compared.
The function
LSSCPY(LST)
creates a copy of the list structure with alias LST. Its returned value
is the name of the new list structure. Description Lists and List Marks
are not copied.
The function
126 SLIP