Functions for working with Collections

Count Function

Count Function

The Count function determines the number of elements in the collection.

Declaration:

int Count( TCollection CollectionName )

Parameter:

CollectionName The name of the collection the number of whose elements is searched for.

Example:

#{ GetGlobalFunctions( FunctionsData ) }#
#{ for_each( Fun in FunctionsData ) }#
#{ GetCallsTo( CallsData, Fun.Name, "" ) }#

The function #{ Fun.Name }# is called in the project #{ Count( CallsData ) }# number of times.

#{ end_for }#