ndrop

Input Stack:
N
a0
...
aN
Output Stack:
aN
 
 
 

Remove the top N items on the stack.

Example:

a,0,:ndrop
PosInputOutput
0 0 a
1 a
a,b,c,2,:ndrop
PosInputOutput
0 2 a
1 c
2 b
3 a
a,b,c,4,:ndrop
PosInputOutput
0 4
1 c
2 b
3 a
,:ndrop

Warning

Throws an exception due to missing the N param.