Next: , Previous: , Up: Array instructions   [Contents][Index]


17.1.19.3 Instruction arem

Synopsys:

arem

Remove an element from an array at the specified index, making it schrink.

If IDX doesn’t correspond to an element in the array, raise PVM_E_OUT_OF_BOUNDS. This always happens if the array is empty.

Stack: ( ARR IDX -- ARR ) Exception: PVM_E_OUT_OF_BOUNDS