Purpose
Exits a Function...End Function statement.
Restrictions
You cannot issue an Exit Function statement through the MapBasic window.
Syntax
Exit Function
Description
An Exit Function statement causes MapBasic to exit the current function. Accordingly, an Exit Function statement may only be issued from within a Function...End Function statement.
Function calls may be nested; in other words, one function can call another function, which, in turn, can call yet another function. Note that a single Exit Function statement exits only the current function.
See Also:
Function...End Function statement