4DQuiz


OT ItemCount View from small screen devices!  

OT ItemCount version 1

OT ItemCount(inObject {; inTag}) Number

Parameter Type Description

inObject Longint A handle to an object

inTag String Tag of an embedded object

Function result Number The item count

Discussion

OT ItemCount returns the number of top level items in the referenced object. Items in embedded objects are not included in the count.

If inObject is not a valid object handle, an error is generated, OK is set to zero, and zero is returned.

If the tag is not passed or is empty, the count of top level items in the object is returned.

If the tag is passed, is not empty, and is a valid item reference for an embedded object, the count of top level items in the embedded object is returned.

Otherwise an error is generated, OK is set to zero, and zero is returned.

See Also

OT IsObject, OT IsEmbedded



Topics of Interest
Object Info Routines
OT GetItemProperties
Item Info 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