Note 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

Purpose

Displays a simple message in a dialog box. You can issue this statement from the MapBasic window in MapInfo Pro.

Syntax

Note message 

message is an expression to be displayed in a dialog box.

Description

The Note statement creates a dialog box to display a message. The dialog box contains an OK button; the message dialog box remains on the screen until the user clicks the OK button.

The message expression does not need to be a string expression. If message is an object expression, MapBasic will automatically produce an appropriate string (for example, "Region") for display in the Note dialog box. If the message expression is a string, the string can be up to 300 characters long, and can occupy up to 6 rows.

Example

Note "Total # of records processed: " + Str$( i_count )

See Also:

Ask() function, Dialog statement, Print statement