Console View

The Console view displays output from both the IDL command line and compiled IDL programs. This output includes:

In the following example, the Console displays commands entered in the Command Line view, and the subsequent output:

console_view_1.gif

The text in the Console view is color coded. For example, in the previous example, IDL commands are displayed in green, with the standard output displayed in black. When compiling an IDL program, compilation errors are color coded, and the view provides hypertext links to errors in the source file.

To see or change the current Console syntax colors, from the Preferences dialog, select the Run/Debug  Console page.

To add the Console view to the current perspective, click Window  Show View  Console.

Toolbar

The toolbar of the Console view contains the following buttons:

console_view_buttons.jpg

Toolbar Button
Description

Clear Console

Clears all text from the view.

Scroll Lock

Freezes the window slider so that the current text is always displayed. New text can be added, but the focus remains on the current text.

Note - You can manually move the window slider.

Save log to file

Saves the contents of the Console view to a file.

Print log

Prints the contents of the Console view.

Minimize

Minimizes the view in the perspective.

Maximize

Maximizes the view in the perspective.