Difference between revisions of "Template:LSL Function/list/element"
Jump to navigation
Jump to search
m |
m |
||
Line 5: | Line 5: | ||
If '''{{{2|none}}}''' describes a location not in '''{{{1|none}}}''' then {{{return|}}} is returned.{{#if:{{{3|}}}|<br/> | If '''{{{2|none}}}''' describes a location not in '''{{{1|none}}}''' then {{{return|}}} is returned.{{#if:{{{3|}}}|<br/> | ||
{{#if:{{{nc|}}} | {{#if:{{{nc|}}} | ||
|If the type of the element at '''{{{2|none}}}''' in '''{{{1|none}}}''' is not a [[{{{3|}}}{{#var:lang}}|{{{3|}}}]] then {{{return|}}} is returned. <br/> In this situation use: <code>([[{{{3|}}}{{#var:lang}}|{{{3|}}}]])[[llList2String{{#var:lang}}|llList2String]]( | |If the type of the element at '''{{{2|none}}}''' in '''{{{1|none}}}''' is not a [[{{{3|}}}{{#var:lang}}|{{{3|}}}]] then {{{return|}}} is returned. <br/> In this situation use: <code>([[{{{3|}}}{{#var:lang}}|{{{3|}}}]])[[llList2String{{#var:lang}}|llList2String]]({{LSL Param|{{{1|none}}}}}, {{LSL Param|{{{2|none}}}}});</code> | ||
|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}}}}}} | |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> |