GoFiler Legato Script Reference
Legato v 1.5d Application v 5.25a
|
Table of Contents | < < Previous | Next >> |
Chapter Four — Flow Control (continued)
Overview
The exit statement causes the execution script to stop and return to whatever function called the script. The script exits and returns to its caller, which could be the application or another script.
Syntax/Parameters
Syntax
exit [parameter];
Parameters
parameter
An optional expression that creates a return value for the caller.
Remarks
The exit statement is a little like the return statement except the script call stack is completely unwound and the script will return to the calling program. The script may or may not ‘unload’ depending on the action of the caller.
The data type of parameter should match the caller’s expectation. To the extent practical, the script processor will attempt to match types.
Use caution returning handles if declared as local variables. They will be released and the returned handle value will be invalid.
Table of Contents | < < Previous | Next >> |
© 2012-2024 Novaworks, LLC. All rights reserved worldwide. Unauthorized use, duplication or transmission prohibited by law. Portions of the software are protected by US Patents 10,095,672, 10,706,221 and 11,210,456. GoFiler™ and Legato™ are trademarks of Novaworks, LLC. EDGAR® is a federally registered trademark of the U.S. Securities and Exchange Commission. Novaworks is not affiliated with or approved by the U.S. Securities and Exchange Commission. All other trademarks are property of their respective owners. Use of the features specified in this language are subject to terms, conditions and limitations of the Software License Agreement.