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