Difference between revisions of "TLO:Arg"

From Lavish Software Wiki
Jump to navigation Jump to search
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
== Description ==
 
'''Requires LavishScript 1.11'''
 
 
 
== Forms ==
 
== Forms ==
 
*[[DataType:string|string]] '''Arg['''#''','''...''']'''
 
*[[DataType:string|string]] '''Arg['''#''','''...''']'''
Line 20: Line 17:
  
 
[[Category:LavishScript]]
 
[[Category:LavishScript]]
 +
[[Category:LavishScript Top-Level Objects]]

Latest revision as of 02:05, 31 August 2005

Forms

Retrieves a given argument by number, out of all following arguments

Examples

  • ${Arg[1,this]}
"this"
  • ${Arg[2,one,two]}
"two"
  • ${Arg[1,one,two,three]}
"one"
  • ${Arg[2,${MyVariable}]}
The second comma-separated value in MyVariable

See Also