Difference between revisions of "TLO:Variable"

From Lavish Software Wiki
Jump to navigation Jump to search
 
Line 1: Line 1:
 
== Forms ==
 
== Forms ==
*[[DataType:variable|variable]] '''Variable['''name''']'''
+
*[[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
*[[DataType:variable|variable]] '''Variable['''array[#]''']'''
+
*[[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>.
 
: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 [[DataType:variable#Examples|variable examples]]
+
See [[ObjectType:variable#Examples|variable examples]]
 
== See Also ==
 
== See Also ==
* [[LavishScript:Top-Level Objects|Top-Level Objects]]
+
{{LavishScript:Top-Level Object}}
 
 
[[Category:LavishScript]]
 
[[Category:LavishScript Top-Level Objects]]
 

Latest revision as of 16:46, 8 July 2018

Forms

Retrieves a generic variable object from the given variable name
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 variable examples

See Also

LavishScript Top-Level Objects

Data Storage Conversion
Bool - Float - Int - String
Enums
Enum
Date/Time
Time
Events
Event
Inline Branching
If
Math
Math
Misc
Arg - Event - Execute - LavishScript - Script - Select - Type
Operating System
System
Scripting
QueuedCommands - Return - Variable - This - VariableScope - ForEach - Context