Updates to Existing Functions and Statements - 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

General Functions and Statements

Function/Statement Name Description
Create Adornment statement Added a new Smart Text Clause.
Set Adornment statement Added a new Smart Text Clause.
StringToDate() function Added two new optional parameters to specify the Date Format and the Locale.
StringToDateTime() function

Added two new optional parameters to specify the DateTime Format and the Locale.

StringToTime() function

Added two new optional parameters to specify the Time Format and the Locale.

FormatDate$() function Added two new optional parameters to specify the Date Format and the Locale.
Register Table statement You can now register OGR files.
SessionInfo() function Has new attribute parameters:
  • SESSION_INFO_TOKENS_ALL
  • SESSION_INFO_TOKENS_RESERVED
CommandInfo() function Has new attribute parameters for ribbon controls:
  • CMD_INFO_NAME
  • CMD_INFO_FULLNAME
Commit Table Statement Has a new token:
  • Background
FormatNumber$() function

Adds a new parameter, precision. You can now format a float number as per the precision value.

FormatTime$() function

If the string parameter is passed as empty, MapInfo Pro time format would be the default time format.

Select Statement

You can now update a WHERE clause condition of a query and also refresh the query without recreating a new query table.

Set Map Statement

Add a new Filter Where clause that applies filter condition to a layer in a map.

Added a new Time clause for time related map properties.

LayerInfo() function

Added three new attributes for the map layer filter.

Added thirteen new attributes for time related layer properties.

MapperInfo() function Added 30 new attributes for time related map properties.
TableInfo() function Added one new attribute.
LayoutItemID() function Updates to the frame parameter properties.
LayoutItemWinID() function Updates to the frame parameter properties.
Export Statement Now allow exporting a table in an OGR file.