$ListILn: Difference between revisions

From m204wiki
Jump to navigation Jump to search
m (1 revision)
mNo edit summary
Line 2: Line 2:
<span class="pageSubtitle"><section begin="desc" />Length of $list item<section end="desc" /></span>
<span class="pageSubtitle"><section begin="desc" />Length of $list item<section end="desc" /></span>


<p class="warning">Most Sirius $functions have been deprecated in favor of Object Oriented methods. The OO equivalent for the $ListILn function is [[to be entered]].</p>
<p class="warning">Most Sirius $functions have been deprecated in favor of Object Oriented methods. The OO equivalent for the $ListILn function is the [[ItemLength (Stringlist function)]].</p>


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.  
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.  
Line 11: Line 11:


The second argument is a string that specifies the item number in the $list. 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==
==Syntax==
<p class="syntax"><section begin="syntax" /> %RESULT = $ListILn(list_identifier, item_num)
<p class="syntax"><section begin="syntax" /> %RESULT = $ListILn(list_identifier, item_num)
Line 35: Line 36:
<li>[[Japanese functions]]</li>
<li>[[Japanese functions]]</li>
<li>[[Sir2000 Field Migration Facility]]</li>
<li>[[Sir2000 Field Migration Facility]]</li>
</ul>
</ul>
</p>
</p>
<p class="caption">Products authorizing $ListILn
<p class="caption">Products authorizing $ListILn
</p>
</p>


[[Category:$Functions|$ListILn]]
[[Category:$Functions|$ListILn]]

Revision as of 14:41, 10 February 2011

<section begin="desc" />Length of $list item<section end="desc" />

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

<section begin="syntax" /> %RESULT = $ListILn(list_identifier, item_num) <section end="syntax" />

$ListILn Function

%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