nlist
Input Stack:
|
⇨ | Output Stack:
|
Create a list with the top N items on the stack.
Since: 1.5.0
Examples:
a,0,:nlist
Pos | Input | Output |
---|---|---|
0 | 0 | List() |
1 | a | a |
a,b,c,2,:nlist
Pos | Input | Output |
---|---|---|
0 | 2 | List(b, c) |
1 | c | a |
2 | b | |
3 | a |
a,b,c,4,:nlist
Pos | Input | Output |
---|---|---|
0 | 4 | List(a, b, c) |
1 | c | |
2 | b | |
3 | a |