$ListILn: Difference between revisions

From m204wiki
Jump to navigation Jump to search
(Automatically generated page update)
Line 13: Line 13:


==Syntax==
==Syntax==
<p class="syntax"><span class="term">%result</span> = <span class="literal">$ListILn</span>(<span class="term">list_identifier, item_num)
<p class="syntax"><span class="term">%result</span> = <span class="literal">$ListILn</span>(<span class="term">list_identifier</span>, <span class="term">item_num</span>)
</p>
</p>
<p>
<p>
</p>
<var class="term">%result</var> is a string that contains the length of the indicated $list item, or it is a negative number if an error has occurred.</p>
<p>%result is a string that contains the length of the indicated $list item, or it is a negative number if an error has occurred.</p>
<p class="code">-5 - Required argument not specified
<p class="code">  
-6 - $List identifier invalid
-5 - Required argument not specified
-7 - Item number not found in $list
-6 - $List identifier invalid
-7 - Item number not found in $list
</p>
</p>
<p class="caption">$ListILn Error Codes
<p class="caption">$ListILn Error Codes
</p>
</p>
<p class="code">


==Products authorizing {{PAGENAMEE}}==  
==Products authorizing {{PAGENAMEE}}==  

Revision as of 13:56, 11 April 2013

Length of $list item

Most Sirius $functions have been deprecated in favor of Object Oriented methods. The OO equivalent for the $ListILn function is the ItemLength (Stringlist function).

This function returns a number containing the length of a specified $list item, or it returns a negative number indicating that an error has occurred.

The $ListILn function accepts two arguments and returns a numeric result.

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

The second argument is a string that specifies the item number in the $list. This is a required argument.

Syntax

%result = $ListILn(list_identifier, item_num)

%result is a string that contains the length of the indicated $list item, or it is a negative number if an error has occurred.

-5 - Required argument not specified -6 - $List identifier invalid -7 - Item number not found in $list

$ListILn Error Codes

Products authorizing $ListILn