Properties - Switches

Top  Previous  Next

The last tab page is the Switches page:



The Switches tab page


On this tab, you can select which compiler switches that are active for the current analysis. This is important for how Pascal Browser 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 Pascal Browser). The include file directive $I is used to embed the contents of the include file into the source file.



See also: