Difference between revisions of "TLO:Variable"
Jump to navigation
Jump to search
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
== Forms == | == Forms == | ||
− | *[[ | + | *[[ObjectType:variable|variable]] '''Variable['''name''']''' |
:Retrieves a generic variable object from the given variable name | :Retrieves a generic variable object from the given variable name | ||
+ | *[[ObjectType:variable|variable]] '''Variable['''array[#]''']''' | ||
+ | :Retrieves a variable object representing one element of an array. Note that to follow LavishScript syntax, the array member access must either be escaped or quoted, e.g. <tt>${Variable["MyArray[1]"}</tt> or <tt>${Variable[MyArray[1\]]}</tt>. | ||
== Examples == | == Examples == | ||
− | See [[ | + | See [[ObjectType:variable#Examples|variable examples]] |
== See Also == | == See Also == | ||
− | + | {{LavishScript:Top-Level Object}} | |
− | |||
− | |||
− |
Latest revision as of 16:46, 8 July 2018
Forms
- variable Variable[name]
- Retrieves a generic variable object from the given variable name
- variable Variable[array[#]]
- Retrieves a variable object representing one element of an array. Note that to follow LavishScript syntax, the array member access must either be escaped or quoted, e.g. ${Variable["MyArray[1]"} or ${Variable[MyArray[1\]]}.
Examples
See Also
LavishScript Top-Level Objects