4DQuiz


OT GetItemProperties View from small screen devices!  

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


Topics of Interest
Item Info Routines
OT ItemType
Object Info Routines
OT GetAllProperties
OT ObjectSize
OT GetNamedProperties
OT IsEmbedded
Item Utility Routines
 

Published date: Fri, 14 Jul 2006 18:39:05 GMT   → View XML Version

Edit this page now

© 2005 - 2006 4dquiz.com, All trademarks accepted. All Rights Reserved!
Site Index