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:
- On the HOME tab, in the Windows group, click Tool Windows, and click MapBasic
from the list, to open the MapBasic window.
- Type a command.
- 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:
- Position the cursor anywhere within the command statement.
- 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:
- Choose the series by dragging the cursor over them to highlight them.
- Press Enter.