<- PRPL reference <- Lists

AppendStackToList

ArgumentsResultNotation
[???]* List [ ?* list - ]

Description

Adds all values on the stack to the end of a list. The order of the values will be reversed.

Note that the stack will be empty after this call, so think before using it in functions.

Examples

Split("1,2,3,4,5,6" ",") ->list 
Split("1,2,3,4,5,6" ",") <-list AppendStackToList 
Trace(<-list)