User Tools

Site Tools


4rpl:commands:poplist

This is an old revision of the document!


Index

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.1610121708.txt.gz · Last modified: 2025/02/14 14:56 (external edit)