Previous: 3. Compiler Directives To the Table of Contents Next: 3.2. Switch and Parameter Directives
3. Compiler Directives Table of Contents 3.2. Switch and Parameter Directives

- 3.1. -
Table of Contents
3. Compiler Directives
3.1. Conditional Directives


3.1. 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: 3. Compiler Directives To the Table of Contents Next: 3.2. Switch and Parameter Directives
3. Compiler Directives Table of Contents 3.2. Switch and Parameter Directives

- 3.1. -