<- CRPL reference <- Lists
Arguments | Result | Notation |
---|---|---|
Value1, Value2, … Valuen, List | None | n1 n2 … n… L1 – |
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.
#prepends the stack to the beginning of list01 "Hello" "Creeper" "World" <-list01 PrependStackToList
Sample list01
:
0 - foo
1 - bar
Sample list01
after PrependToList command:
0 - Hello
1 - Creeper
2 - World
3 - foo
4 - bar