$ListCnt: Difference between revisions
m 1 revision |
m 1 revision |
||
Line 2: | Line 2: | ||
<span class="pageSubtitle">Number of items in $list</span> | <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 | <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> | ||
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. |
Revision as of 19:27, 19 October 2012
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" />
$ListCnt Function
%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
- Sirius functions
- Fast/Unload User Language Interface
- Janus Open Client
- Janus Open Server
- Janus Sockets
- Janus Web Server
- Japanese functions
- Sir2000 Field Migration Facility
Products authorizing $ListCnt