$ListCnt: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
Line 1: | Line 1: | ||
{{DISPLAYTITLE:$ListCnt}} | {{DISPLAYTITLE:$ListCnt}} | ||
<span class="pageSubtitle" | <span class="pageSubtitle">Number of items in $list</span> | ||
<p class="warning">Most Sirius $functions have been deprecated in favor of Object Oriented methods. The OO equivalent for the $ListCnt function is the [[Count (Stringlist function)]].</p> | <p class="warning">Most Sirius $functions have been deprecated in favor of Object Oriented methods. The OO equivalent for the $ListCnt function is the [[Count (Stringlist function)]].</p> |
Revision as of 21:21, 22 November 2011
Number of items in $list
Most Sirius $functions have been deprecated in favor of Object Oriented methods. The OO equivalent for the $ListCnt function is the Count (Stringlist function).
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
<section begin="syntax" /> %RESULT = $ListCnt(list_identifier) <section end="syntax" />
-5 - Required argument not specified -6 - $List identifier invalid