The Command window is used to directly execute one-line dBL commands. It is handy for testing simple expressions and immediately seeing the results in the results pane. (It is the dBASE Plus counterpart to the dot prompt found in dBASE IV and earlier DOS versions of dBASE.)


The Command window is for temporary work only; you cannot save your work. However, you can copy the contents of the window or drag and drop to a source file. You can also print the contents (select what you want to print, and choose File|Print).

To use your own functions in the Command window, you must first load them:

set procedure to <filename> additive

To open the Command window, choose View|Command Window.

The Command window has two panes:

The input pane is where you enter interactive commands You might use the input pane in this way if you find typing commands easier or faster than using the mouse and menus.

The input pane echoes your actions in the dBASE Plus interface, keeping a history of the commands you’ve executed. For example, when you create a new table by double-clicking the Untitled table icon, the Command window shows that you’ve executed a CREATE command.

The results pane is where your command output appears, unless your commands create or call separate windows. It is also the default destination for the output of many programs. The results pane retains the last 100 lines.

To change the relative size of the two panes, drag the center divider. To restore them to equal sizes, double-click the divider.

To clear the contents of the input pane, close the window and select View|Command Window. To clear the results pane, choose Edit|Clear All Results.