next up previous contents
Next: Finding items in Up: CHAPTER.7: THE POP-11 Previous: Adding and removing

Using "it" to record what was removed

After using FLUSH or REMOVE the variable IT will hold the item last removed. E.g.

    add([dogs like meat]);
    remove([dogs like == ]);
    it =>
    ** [dogs like meat]
The procedure ALLREMOVE, uses the variable THEM instead. This will be a list of all the items removed. Similarly, ADD updates IT, and ALLADD records things in THEM.



Aaron Sloman
Fri Jan 2 03:17:44 GMT 1998