untail (Object control)

Extracts a value from the end of a list. The list will be modified.

Arguments

list
to extract a value from, can be a builtin-list or a structure.

Return values

list
is the same builtin-list or a structure provided as an argument, with the last value removed.
The extracted
value
.

Example

a: (1 2 3); a print a untail print print a print
Output:
( 1 2 3 )3( 1 2 )( 1 2 )