Equinox Online Help - Language Reference - A to Z

Home

Return

Applies to
SyntaxReturn
Action[Statement] Immediately exits from a procedure.
ScopeUsable anywhere.
Notes

Exits procedure immediately and returns to the calling code.

CategoryFlow Control
See Also Block_EndBlock, BreakPressed, Continue, Execute, EnableInput, Exit, For...Next, Goto, If_Then, Repeat_EndRepeat, Repeat_Until, Sleep, Subtable, Switch, While_EndWhile
Example

This example causes the procedure to end if SysError is non-zero

If SysError Then Return