ItemLength (Stringlist function): Difference between revisions

From m204wiki
Jump to navigation Jump to search
m (1 revision)
m (1 revision)
Line 8: Line 8:
{{Template:Stringlist:ItemLength syntax}}
{{Template:Stringlist:ItemLength syntax}}
===Syntax terms===
===Syntax terms===
<dl>
<table class="syntaxTable">
<dt>%rc
<tr><th>%rc </th>
<dd>A numeric variable set to the length of the '''%sl''' Stringlist item.
<td>A numeric variable set to the length of the '''%sl''' Stringlist item. </td></tr>
<dt>%sl
<tr><th>sl </th>
<dd>A Stringlist object.<dt>itemnum<dd>A number that specifies the item number in the '''%sl''' Stringlist.  
<td>A Stringlist object.</td></tr>
</dl>
<tr><th>itemnum</th>
<td>A number that specifies the item number in the '''%sl''' Stringlist.</td></tr>
</table>


==Usage notes==
==Usage notes==

Revision as of 21:03, 16 January 2011

Length of Stringlist item (Stringlist class)


This method returns a number containing the length of a specified Stringlist item.

ItemLength is a member of the Stringlist class.

Syntax

%length = sl:ItemLength( itemNum)

Syntax terms

%rc A numeric variable set to the length of the %sl Stringlist item.
sl A Stringlist object.
itemnum A number that specifies the item number in the %sl Stringlist.

Usage notes

  • All errors in ItemLength result in request cancellation.