User Tools

Site Tools


4rpl:commands:appendstacktolist

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

4rpl/commands/appendstacktolist.txt · Last modified: 2024/05/18 05:52 by LiteralNoob