Difference between revisions of "Command:Return"
Jump to navigation
Jump to search
Bootyjuice (talk | contribs) |
|||
Line 6: | Line 6: | ||
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 | + | 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 12: | 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]] | ||
[[Category:LavishScript Commands]] | [[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.