User Tools

Site Tools


ixe:irpl:lists:pushlist

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
ixe/irpl/lists/pushlist.txt · Last modified: 2025/01/07 15:41 by 127.0.0.1