ItemLength (Stringlist function): Difference between revisions

From m204wiki
Jump to navigation Jump to search
m (1 revision)
m (1 revision)
Line 1: Line 1:
{{Template:Stringlist:ItemLength subtitle}}
{{Template:Stringlist:ItemLength subtitle}}


This method returns a number containing the length of a specified Stringlist item.
This method returns a number containing the length of a specified <var>Stringlist</var> item.


==Syntax==
==Syntax==
Line 8: Line 8:
<table class="syntaxTable">
<table class="syntaxTable">
<tr><th>%rc </th>
<tr><th>%rc </th>
<td>A numeric variable set to the length of the '''%sl''' Stringlist item. </td></tr>
<td>A numeric variable set to the length of the '''%sl''' <var>Stringlist</var> item. </td></tr>
<tr><th>sl </th>
<tr><th>sl </th>
<td>A Stringlist object.</td></tr>
<td>A <var>Stringlist</var> object.</td></tr>
<tr><th>itemnum</th>
<tr><th>itemnum</th>
<td>A number that specifies the item number in the '''%sl''' Stringlist.</td></tr>
<td>A number that specifies the item number in the '''%sl''' <var>Stringlist</var>.</td></tr>
</table>
</table>



Revision as of 21:33, 18 January 2011

Length of Stringlist item (Stringlist class)


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

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.