beautypg.com

Index – AMT Datasouth PAL User Manual

Page 126

background image

index

120

index

Description

Recovers an object from a lower level of the operand stack.

Usage

NAny..0Any IndexInt

index

NAny..0Any IndexedAny

NAny..0Any

Any. All objects on the operand stack.

IndexInt

Integer. Index of desired object on operand stack. The top-most object, prior to
pushing IndexInt, has an index of zero. The next lower object has an index of
one.

IndexedAny

Any. Requested object from operand stack.

Comments

This operator functions in a manner similar to the dup operator. However, index duplicates any
object on the operand stack. For composite objects, the original and duplicate objects will share
the same composite data.