![](/images/backgrounds/286549/hp-sunsoft-pascal-4-0-users-manual-549395271x1.png)
|
| A |
|
|
|
| |
|
|
| |
|
|
| |
|
|
| |
|
|
| |
|
|
|
|
| Table | ||
|
|
|
|
| Compiler |
|
|
| Directive | Description | |
|
|
| |
| %exit | Stops processing the current Pascal source file. | |
|
|
| |
| %if | When the compiler encounters a %if expression %then directive, it | |
|
| evaluates expression. If expression is true, pc executes the statements | |
|
| after %then. If expression is false, pc skips over %then. | |
|
|
| |
| %ifdef | Determines whether or not you previously defined a conditional | |
|
| variable in a %var directive. | |
|
|
| |
| %include | Inserts the lines from the specified file into the input stream. | |
|
|
| |
| %list | Enables a listing of the program. | |
|
|
| |
| %nolist | Disables the program listing. | |
|
|
| |
| %slibrary | Inserts the lines from the specified file into the input stream. Same as | |
|
| %include. | |
|
|
| |
| %var | Defines conditional variables. | |
|
|
| |
| %warning | Prints a warning string on the standard output. | |
|
|
|
|
The rest of this appendix contains detailed descriptions and examples of each directive.
The %config DirectiveThe %config directive is a predefined conditional variable with a value of either true or false.
Syntax
%config
Comments
%config is true when you compile your program with the
Use %config in an %if, %ifdef, %elseif, or %elseifdef directive to catch any undefined values specified with
Pascal Preprocessor | 247 |