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


22.1.20.6 Instruction arefo

Synopsys:

arefo

Given an array ARR and an index ULONG, push the offset of the element occupying that position in the array.

If the provided index is out of bounds, then raise PVM_E_OUT_OF_BOUNDS.

Stack: ( ARR ULONG -- ARR ULONG OFF )

Exceptions: PVM_E_OUT_OF_BOUNDS