Difference between revisions of "Command:Return"
Jump to navigation
Jump to search
(5 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
== Syntax == | == Syntax == | ||
+ | {{CMD-DR|Return|Beginner|Intermediate|Beginner|Intermediate}} | ||
+ | Return [text] | ||
== Description == | == 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 [[TLO:Return|Return Top-Level Object]]. | ||
== Examples == | == Examples == | ||
Line 7: | Line 12: | ||
== See Also == | == See Also == | ||
*[[LavishScript:Commands|Commands]] | *[[LavishScript:Commands|Commands]] | ||
+ | *[[TLO:Return|Return Top-Level Object]] | ||
+ | {{Command-Stub}} | ||
+ | [[Category:LavishScript]] | ||
+ | [[Category:LavishScript Commands]] |
Latest revision as of 22:50, 1 February 2006
Contents
Syntax
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.