This is an old revision of the document!
CreateList ->list
Creates an empty list and pushes it onto the stack. If saved in a variable, then whatever was in that variable previously gets dropped (and garbage collected) and replaced with the new list just created.
If you do the following, or anything similar:
CreateList dup ->list1 ->list2
The lists will actually be the same, just with different variables.
if (CreateList GetListCount eq0) Trace("And lo, the list was empty.") endif createlist ->list 1 ->list[0] 4 ->list[1] 9 ->list[2] trace(<-list)
⇐ Index