$ListCnt: Difference between revisions

From m204wiki
Jump to navigation Jump to search
(Automatically generated page update)
mNo edit summary
Line 2: Line 2:
<span class="pageSubtitle">Number of items in $list</span>
<span class="pageSubtitle">Number of items in $list</span>


<p class="warn"><b>Note: </b>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="warn"><b>Note: </b>Most Sirius $functions have been deprecated in favor of Object Oriented methods. The OO equivalent for the $ListCnt function is <var>[[Count (Stringlist function)|Count]]</var>.</p>


This function returns an integer that, if positive, contains the number of items in the specified $list and if negative indicates an error.  
This function returns an integer that, if positive, contains the number of items in the specified $list and if negative indicates an error.  
Line 35: Line 35:
</ul>
</ul>
   
   
</p>
<p>
</p>
[[Category:$Functions|$ListCnt]]
[[Category:$Functions|$ListCnt]]

Revision as of 21:47, 18 July 2013

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.

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

$ListCnt Error Codes

Products authorizing $ListCnt