$ListCnt

From m204wiki
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

Number of items in $list

Note: Many $functions have been deprecated in favor of Object Oriented methods. The OO equivalent for the $ListCnt function is Count.

This function returns an integer that, if positive, contains the number of items in the specified $list and if negative indicates an error.

The $ListCnt function accepts one argument and returns a numeric result.

The first argument is a $list identifier. This is a required argument.

Syntax

%result = $ListCnt(list_identifier)

%result is set either to the number of items in the indicated $list, or to a negative number if an error has occurred.

Error codes

-5 - Required argument not specified -6 - $List identifier invalid

Products authorizing $ListCnt