Error$() function - 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

Purpose

Returns a message describing the current error. You can call this function from the MapBasic window in MapInfo Pro.

Syntax

Error$()

Return Value

String

Description

The Error$() function returns a character string describing the current run-time error, if an error has occurred. If no error has occurred, the Error$() function returns a null string.

The Error$() function should only be called from within an error handling routine. See Err() function for more information.

See Also:

Err() function, Error statement, OnError statement