Difference between revisions of "Command:Return"

From Lavish Software Wiki
Jump to navigation Jump to search
 
(2 intermediate revisions by 2 users not shown)
Line 5: Line 5:
 
== Description ==
 
== Description ==
 
Returns from the current function immediately, continuing execution after the "Call" to this function.  If the main function ends, the script ends.
 
Returns from the current function immediately, continuing execution after the "Call" to this function.  If the main function ends, the script ends.
 +
 +
If any text is returned with the Return command, it can be retrieved by the caller via the [[TLO:Return|Return Top-Level Object]].
  
 
== Examples ==
 
== Examples ==
Line 10: Line 12:
 
== See Also ==
 
== See Also ==
 
*[[LavishScript:Commands|Commands]]
 
*[[LavishScript:Commands|Commands]]
 +
*[[TLO:Return|Return Top-Level Object]]
 
{{Command-Stub}}
 
{{Command-Stub}}
 +
[[Category:LavishScript]]
 +
[[Category:LavishScript Commands]]

Latest revision as of 22:50, 1 February 2006

Syntax

Command Difficulty Rating
Return
Usage Beginner
Level of Understanding Intermediate
Computer Savvy Beginner
Logic Intermediate

Return [text]

Description

Returns from the current function immediately, continuing execution after the "Call" to this function. If the main function ends, the script ends.

If any text is returned with the Return command, it can be retrieved by the caller via the Return Top-Level Object.

Examples

See Also