User Tools

Site Tools


4rpl:commands:poplist

Index
Lists

PopList

PopList(<-list)

Description

Pops an item from the end of a list. Popping will remove the list item from the list and place it on the stack. If the list is empty, an null item is added to the 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/poplist.txt · Last modified: 2021/03/02 13:06 by Karsten75