Equinox Online Help - Language Reference - A to Z
Exit |
|||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Applies to | |||||||||||||||||||||||||||||
Syntax | Exit keyword [LabelName] | ||||||||||||||||||||||||||||
Action | [Statement] Jumps out of the specified structure, block, method, screen, or application. | ||||||||||||||||||||||||||||
Scope | Usable anywhere. | ||||||||||||||||||||||||||||
Notes | This statement can be used to jump out of a block, method, screen or even an application. Keyword specifies the structure or block and may be one of the following:
The optional argument, LabelName, is only used with the Block keyword. It is used to specify the block's name.
There is no Exit Procedure. Use Return instead. |
||||||||||||||||||||||||||||
Category | Flow Control | ||||||||||||||||||||||||||||
See Also | Block_EndBlock, BreakPressed, Continue, Execute, EnableInput, Exit, For...Next | ||||||||||||||||||||||||||||
Example | This example searches for full stops in the comment field. If a full stop is not followed by a space character, one is inserted. The Exit Block statement is used to branch to the Alert statement, when the process is finished. number dot |