[next] [tail] [up]

#### 5.2.1 Conditional processing of the config file

In addition to placeholder substitution, the configuration file allows a type of preprocessing. It understands the following directives, which you should place starting on the first column of a line:

#IFDEF
#IFNDEF
#ELSE
#ENDIF
#DEFINE
#UNDEF
#WRITE
#INCLUDE
#SECTION

They work the same way as their {$...} counterparts in Pascal source code. All the default defines used to compile source code are also defined while processing the configuration file. For example, if the target compiler is an intel 80x86 compatible linux platform, both cpu86 and linux will be defined while interpreting the configuration file. For the possible default defines when compiling, consult Appendix G of the Programmer’s Guide.

What follows is a description of the different directives.

[next] [front] [up]