Running an expression

Running an expression evaluates an expression but does not display a result.

If you select the expression to run and click the Run button in the toolbar, no result is displayed, but the code is run.  

For example, if you type and highlight System.out.println("Hello World"), and click the Run button, Hello World appears in the Console view, but no result is displayed in the scrapbook editor or the Expressions view.

Related concepts
Java views

Related tasks
Displaying the result of evaluating an expression
Inspecting the result of evaluating an expression
Viewing runtime exceptions

Related reference
Expressions view
Console view

Copyright IBM Corporation 2000, 2002. All Rights Reserved.