Previous: Compiler Directives To the Table of Content Next: Switch and Parameter Directives

- 3.1 -
Compiler Directives

Conditional directives

Targets: MS-DOS, OS/2, Win32


Compiler directives

Conditional compilation is based on the evaluation of conditional symbols.

$DEFINE - Defines a conditional symbol
$ELSE - Compiles or ignores a portion of source text
$ENDIF - Ends the conditional compilation
$IFDEF - Compiles source text if Name is defined
$IFNDEF - Compiles source text if Name is NOT defined
$IFOPT - Compiles source text if a compiler switch is in a specifies state (+ or -)
$UNDEF - Undefines a previously defined conditional symbol



Previous: Compiler Directives To the Table of Content Next: Switch and Parameter Directives
Compiler Directives Table of Content Switch and Parameter Directives

- 3.1 -