Properties - Switches

Top  Previous  Next

 

The Switches tab is not available for a multi-project.

 

clip0005

 

On this tab, you can select which compiler switches that are active for the current analysis. This is important for how PAL evaluates $IFOPT directives. For instance, if $R+ (range check) is activated, a directive {$IFOPT R+} will evaluate to TRUE, and the following code is activated.

 

A better method than setting these switches is to maintain a common include file used by all your modules. The purpose of the file is to set compiler directives and conditional defines that govern the compilation (and parsing by PAL). The include file directive $I is used to embed the contents of the include file into the source file.

 

 

See also:

 

Options menu

Properties - General

Properties - Format

Properties - Parser

Properties - Reports

Properties - Source