ItemLength (Stringlist function): Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
Line 1: | Line 1: | ||
{{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]]. | ||
== | ==Syntax== | ||
{{Template:Stringlist:ItemLength syntax}} | |||
===Syntax terms=== | |||
===Syntax | |||
<dl> | <dl> | ||
<dt>%rc | <dt>%rc | ||
Line 18: | Line 15: | ||
</dl> | </dl> | ||
==Usage | ==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.