$ListCnt: Difference between revisions
Jump to navigation
Jump to search
(Automatically generated page update) |
(Automatically generated page update) |
||
Line 26: | Line 26: | ||
<li>[[List of $functions|Sirius functions]]</li> | <li>[[List of $functions|Sirius functions]]</li> | ||
<li>[[Fast/Unload User Language Interface]]</li> | <li>[[Fast/Unload User Language Interface]]</li> | ||
<li>[[Media:JoclrNew.pdf|Janus Open Client]</li> | <li>[[Media:JoclrNew.pdf|Janus Open Client]]</li> | ||
<li>[http://m204wiki.rocketsoftware.com/images/1/17/JosrvrNew.pdf Janus Open Server]</li> | <li>[http://m204wiki.rocketsoftware.com/images/1/17/JosrvrNew.pdf Janus Open Server]</li> | ||
<li>[[Janus Sockets]]</li> | <li>[[Janus Sockets]]</li> |
Revision as of 21:21, 19 February 2015
Number of items in $list
Note: Most Sirius $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