Documentation

pop

Syntax: %pop(listname)

Retrieves the first item from the list named by "listname" and then removes this item from the list.

Note that the argument is the name of the list variable, not the @var reference.

Example:

List="a"|"b"|"c"
#SHOW %pop(List)
displays "a"
#SHOW @List
displays "b|c"

Add comment

Login or register to post comments