Difference between revisions of "Template:LSL Function/list/element"

From Second Life Wiki
Jump to navigation Jump to search
m
Line 3: Line 3:
{{#vardefine:p_{{{2|none}}}_desc|Index of the element of interest.}}
{{#vardefine:p_{{{2|none}}}_desc|Index of the element of interest.}}
{{#vardefine:header_footnote|{{#if:{{{return|}}}|{{#if:{{#var:header_footnote}}|{{#var:header_footnote}}<br/>}}
{{#vardefine:header_footnote|{{#if:{{{return|}}}|{{#if:{{#var:header_footnote}}|{{#var:header_footnote}}<br/>}}
If '''{{{2|none}}}''' describes a location not in '''{{{1|none}}}''' then {{{return|}}} is returned.
If '''{{{2|none}}}''' describes a location not in '''{{{1|none}}}''' then {{{return|}}} is returned.{{#if:{{{3|}}}|<br/>
{{#if:{{{3|}}}|<br/>If the element at the location described by index cannot be typecast to [[{{{3|}}}{{#var:lang}}|{{{3|}}}]] then {{{return|}}} is returned.}}|{{#var:header_footnote}}}}}}
If the type of the element at '''{{{2|none}}}''' in '''{{{1|none}}}''' is not a [[{{{3|}}}{{#var:lang}}|{{{3|}}}]] it is [[typecast]] to a [[{{{3|}}}{{#var:lang}}|{{{3|}}}]]. If it cannot be typecast {{{return|}}} is returned.}}|{{#var:header_footnote}}}}}}
}}<includeonly>{{LSLC|List/Read Element{{#var:lang}}}}</includeonly>
}}<includeonly>{{LSLC|List/Read Element{{#var:lang}}}}</includeonly>

Revision as of 05:18, 16 May 2008