Prefix any
4Test statements that are GUI-specific with the appropriate GUI specifier.
Specify the platforms that you want to compile for by entering the appropriate GUI specifiers in the
GUI Targets field in the
Runtime Options dialog box. You can specify as many GUI targets as you want; separate each GUI specifier by a comma.
Setting a GUI target affects which classes are listed in the
Library Browser.
To conditionalize code based on the value of constants you define, do the following:
Click
Compiler Constants in the
Runtime Options dialog box.
The
Compiler Constants dialog box is displayed.
Define a constant and specify its value.
Use the constant in your code anywhere you can specify an expression.