Index
Lists

PushList

PushList( <-list <-var)

Description

Adds a value to the end of a list. Same as AppendToList. Convenience routine when treating a list as a stack.

Examples

Split("1,2,3,4,5,6" ",") ->list
PushList(<-list "7")
while
   GetListCount(<-list) gt0
repeat
    PopList(<-list) ->item
    Trace(<-item)
endwhile

Index