Issuing Commands through the MapBasic Window - MapInfo_Pro - 2023

MapInfo Pro Help

Product type
Software
Portfolio
Locate
Product family
MapInfo
Product
MapInfo > MapInfo Pro
Version
2023
ft:locale
en-US
Product name
MapInfo Pro
ft:title
MapInfo Pro Help
First publish date
1985
ft:lastEdition
2023-09-12
ft:lastPublication
2023-09-12T16:39:16.995000

When you issue a command through the MapBasic window, you must use the correct syntax. When you choose many of MapInfo Pro's commands, MapInfo Pro displays the commands in the MapBasic window. You can learn something about the syntax of MapInfo Pro commands simply by observing them in the window.

To issue a command through the MapBasic window:

  1. On the HOME tab, in the Windows group, click Tool Windows, and click MapBasic from the list, to open the MapBasic window.
  2. Type a command.
  3. Press Enter and MapInfo Pro executes the command.

When the command does not have the result you want, you can edit the command statement by deleting items, adding new items, or rearranging items.

To reissue a command that you have previously issued:

  1. Position the cursor anywhere within the command statement.
  2. Press Enter.

This is particularly useful when you want to issue a command several times with small changes each time.

To reissue a series of commands:

  1. Choose the series by dragging the cursor over them to highlight them.
  2. Press Enter.