HP SunSoft Pascal 4.0 Manual do Utilizador Página 271

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 333
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 270
Pascal Preprocessor 247
A
The rest of this appendix contains detailed descriptions and examples of each
directive.
The%config Directive
The %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 -config option;
otherwise, %config is false.
Use %config in an %if, %ifdef, %elseif, or %elseifdef directive to catch
any undefined values specified with -config. Do not define %config in the
%var directive.
%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.
Table A-1 cppas Compiler Directives (Continued)
Compiler
Directive Description
Vista de página 270
1 2 ... 266 267 268 269 270 271 272 273 274 275 276 ... 332 333

Comentários a estes Manuais

Sem comentários