Documentation

push

Syntax: %push(item,list)

Adds the item to the beginning of the list, and returns the new list.

Example:

List = {a|b|c}
#SHOW %pop(List)

displays "a"

#SHOW @List

displays "b|c"

List=%push("a",@List)

displays "a|b|c"

Add comment

Login or register to post comments