User Tools

Site Tools


ixe:irpl:lists:appendstacktolist

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.
ixe/irpl/lists/appendstacktolist.txt · Last modified: 2025/01/07 15:41 by 127.0.0.1