Exit Function statement - MapBasic - 2023

MapInfo MapBasic Reference

Product type
Software
Portfolio
Locate
Product family
MapInfo
Product
MapInfo > MapBasic
Version
2023
Language
English
Product name
MapBasic
Title
MapInfo MapBasic Reference
First publish date
1985
Last updated
2023-09-12
Published on
2023-09-12T16:32:32.686312

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