User Tools

Site Tools


4rpl:commands:prependstacktolist

Index
Lists

PrependStackToList

PrependStackToList (“Hello” “Creeper” “World” <-list)

Description

Inserts the contents of the stack at the beginning of L1 (at index 0) and shifts the index of all other elements in the list up by the number of elements on the stack.

Examples

createlist ->list
AppendStacktoList ("foo" "bar" <-list)
PrependStackToList ("Hello" "Creeper" "World" <-list)
print (<-list)

Index

4rpl/commands/prependstacktolist.txt · Last modified: 2021/03/02 13:07 by Karsten75