[TOC] [Prev] [Next] [Bottom]

<@NUMOBJECTS>

Syntax

<@NUMOBJECTS OBJECT=objectvariable [SCOPE=scope]>

Description

This tag returns the count of the objects in a collection or iterator object returned by a COM or JavaBean method call.

The OBJECT attribute defines the name of a variable containing an object instance. This must be a collection or iterator. The optional SCOPE attribute defines the scope of the object variable.


! Note: For large collections, this meta tag could be very slow, as Tango must iterate through every item in order to get the count.


Example

The following <@NUMOBJECTS> could be used within an <@OBJECTS> loop:

Displaying 1 of <@NUMOBJECTS OBJECT=myCollection>

See Also

<@CALLMETHOD>
<@CREATEOBJECT>
<@OBJECTAT>
<@OBJECTS></@OBJECTS>



[TOC] [Prev] [Next] [Bottom]

docs@pervasive.com
Copyright © 1999, Pervasive Software. All rights reserved.