Difference between revisions of "TLO:Return"

From Lavish Software Wiki
Jump to navigation Jump to search
Line 1: Line 1:
 
== Forms ==
 
== Forms ==
*[[DataType:string|string]] '''Return'''
+
*? '''Return'''
:Retrieves the value from the last usage of the [[Command:Return|return command]] in the current function context
+
:Retrieves the returned value from the last function called.  The object type is defined by the function called, and will be [[ObjectType:mutablestring|mutablestring]] if not specified
  
 
== Examples ==
 
== Examples ==
;Example Code
+
 
If ${Return.Equals[1]}
 
  Call UpdateStatus
 
 
== See Also ==
 
== See Also ==
 
* [[LavishScript:Top-Level Objects|Top-Level Objects]]
 
* [[LavishScript:Top-Level Objects|Top-Level Objects]]

Revision as of 19:49, 10 April 2006

Forms

  • ? Return
Retrieves the returned value from the last function called. The object type is defined by the function called, and will be mutablestring if not specified

Examples

See Also