One can define a linked list as: |
TYPE ENTRY
|
END TYPE ENTRY |
ALLOCATE Creates dynamically elements in a linked list |
CURRENT = ENTRY( NEW_VALUE, NEW_INDEX, FIRST) |
FIRST => CURRENT |
adds a new entry at start of linked list and renames it with POINTER FIRST |