Properties - Switches

Top  Previous  Next


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





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.


Not all compiler switches are included on this page. Only those that can be used with $IFOPT are listed.


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 dictate 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