ItemLength (Stringlist function): Difference between revisions

From m204wiki
Jump to navigation Jump to search
mNo edit summary
 
mNo edit summary
Line 1: Line 1:
<span style="font-size:120%"><b>Length of Stringlist item</b></span>
{{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 Stringlist item.
Line 5: Line 5:
ItemLength is a member of the [[Stringlist class]].
ItemLength is a member of the [[Stringlist class]].


==ItemLength Syntax==
==Syntax==
<pre>
{{Template:Stringlist:ItemLength syntax}}
%rc = %sl:ItemLength(itemnum)
===Syntax terms===
</pre>
 
===Syntax Terms===
<dl>
<dl>
<dt>%rc
<dt>%rc
Line 18: Line 15:
</dl>
</dl>


==Usage Notes==
==Usage notes==
<ul>
<ul>
<li>All errors in ItemLength result in request cancellation.
<li>All errors in ItemLength result in request cancellation.

Revision as of 19:46, 31 December 2010

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.