New MapBasic 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

The following is a list of new functions and statements in this release:

Function/Statement Name Description
Create Ribbon Tab statement This statement creates a MapInfo Pro ribbon tab.
Create Ribbon Context Tab statement This statement creates a MapInfo Pro ribbon contextual tab.
Create Ribbon Context Tab Group statement This statement creates a MapInfo Pro ribbon contextual tab group.
Set Ribbon Tab statement This statement updates a MapInfo Pro ribbon tab.
Set Ribbon Context Tab statement This statement updates a MapInfo Pro ribbon contextual tab.
Set Ribbon Control statement This statement updates a MapInfo Pro ribbon control.
Set Ribbon Clear statement This statement removes any tabs, contextual tab groups, groups and controls added to the ribbon by a running MBX.
Set Ribbon Context Tab Group statement This statement updates a MapInfo Pro ribbon contextual tab group.
RibbonInfo() function This function returns a property value of a ribbon control.
RibbonItemInfo() function This function returns a property value of a collection item under a control.
Execute Ribbon Control Handler statement This statement executes the MapInfo Pro ribbon control handler.
MapCad Tools MapCAD Tools that are executable using the MapBasic Exec() function
TaskInfo() function This function returns the ID of a running or completed background task.
Set Task Statement This statement executes an operation on a task with the given task ID.
RegExReplace$() function This function replaces all or single RegEx matches in a string.
RegExMatch$() function This function matches the given RegEx pattern with the input string.
RegExSearch$() function This function gets the index of first the substring matching the given RegEx pattern with the input string.
DateAdd() function This function adds or subtracts a value in date units from the date variable.
DateTimeAdd() function This function adds or subtracts a value in date/time units from the datetime variable.
TimeAdd() function This function adds or subtracts a value in time units from the time variable.
DateSnap() function This function snaps or rounds the date as per the given date units.
TimeSnap() function This function snaps or rounds the time as per the given time units.
IsNull() function This function determines if a value is null
Age() function This function returns the calculated age in the specified unit.
CurrentAge() function This function returns the calculated age in the specified unit based on a given input date/time/datetime argument with respect to the current time period of the front time-series enabled map window.
FormatDateTime$() function This function formats the input DateTime value into a specified format and Locale.