OT GetItemProperties version 1 modified version 2.0
OT GetItemProperties(inObject; inIndex; outName {; outType {; outItemSize {; outDataSize}}})
Parameter Type Description
inObject Longint A handle to an object inIndex Longint → An index from 1 to the number of
outName String outType Longint outItemSize Longint outDataSize Longint
→ items in the object Receives the item’s name ← Receives the item’s type ← Receives the item’s size ← Receives the item data’s size ←
Discussion
OT GetItemProperties returns the properties of a given item. Items are numbered according to the number of items in an object, starting with 1. In conjunction with OT ItemCount, this allows you to iterate over all of the items in the object.
If inObject is not a valid object handle or if the index is out of range, an error is generated, OK is set to zero, and the return variables are left untouched.
Note As of ObjectTools 2.0, it is recommended that you no longer use this command, as the object items are stored in indeterminate order, thus making the item index quite useless. You should use OT GetNamedProperties instead.
See Also
OT GetAllProperties , OT GetNamedProperties

