User Tools

Site Tools


4rpl:commands:pushlist

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

4rpl/commands/pushlist.txt · Last modified: 2021/11/19 18:09 by Karsten75