Exit Function statement - MapBasic - 2023

MapInfo MapBasic Reference

Product type
Software
Portfolio
Locate
Product family
MapInfo
Product
MapInfo > MapBasic
Version
2023
ft:locale
en-US
Product name
MapBasic
ft:title
MapInfo MapBasic Reference
First publish date
1985
ft:lastEdition
2023-09-12
ft:lastPublication
2023-09-12T16:32:32.686000

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