Index
Lists

AppendStackToList

AppendStackToList

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

CreateList ->list
6 5 4 3 2 1 <-list AppendStackToList 
Trace(<-list) # This means that the output will be "1 2 3 4 5 6" for clarification.

Index