1.1 Local directives

Local directives can occur more than once in a unit or program, If they have a command-line counterpart, the command-line argument is restored as the default for each compiled file. The local directives influence the compiler’s behaviour from the moment they’re encountered until the moment another switch annihilates their behaviour, or the end of the current unit or program is reached.


   $A or $ALIGN : Align Data
   $ASMMODE : Assembler mode (Intel 80x86 only)
   $B or $BOOLEVAL : Complete boolean evaluation
   $C or $ASSERTIONS : Assertion support
   $DEFINE : Define a symbol
   $ELSE : Switch conditional compilation
   $ENDIF : End conditional compilation
   $ERROR : Generate error message
   $F : Far or near functions
   $FATAL : Generate fatal error message
   $GOTO : Support Goto and Label
   $H or $LONGSTRINGS : Use AnsiStrings
   $HINT : Generate hint message
   $HINTS : Emit hints
   $IF : Start conditional compilation
   $IFDEF Name : Start conditional compilation
   $IFNDEF : Start conditional compilation
   $IFOPT : Start conditional compilation
   $INFO : Generate info message
   $INLINE : Allow inline code.
   $I or $IOCHECKS : Input/Output checking
   $I or $INCLUDE : Include file
   $I or $INCLUDE : Include compiler info
   $I386__ XXX : Specify assembler format (Intel 80x86 only)
   $L or $LINK : Link object file
   $LINKLIB : Link to a library
   $M or $TYPEINFO : Generate type info
   $MACRO : Allow use of macros.
   $MAXFPUREGISTERS : Maximum number of FPU registers for variables (Intel 80x86 only)
   $MESSAGE : Generate info message
   $MMX : Intel MMX support (Intel 80x86 only)
   $NOTE : Generate note message
   $NOTES : Emit notes
   $OUTPUT__ FORMAT : Specify the output format
   $P or $OPENSTRINGS : Use open strings
   $PACKENUM : Minimum enumeration type size
   $PACKRECORDS : Alignment of record elements
   $Q $OVERFLOWCHECKS: Overflow checking
   $R or $RANGECHECKS : Range checking
   $SATURATION : Saturation operations (Intel 80x86 only)
   $SMARTLINK : Use smartlinking
   $STATIC : Allow use of Static keyword.
   $STOP : Generate fatal error message
   $T or $TYPEDADDRESS : Typed address operator (@)
   $UNDEF : Undefine a symbol
   $V or $VARSTRINGCHECKS : Var-string checking
   $WAIT : Wait for enter key press
   $WARNING : Generate warning message
   $WARNINGS : Emit warnings
   $X or $EXTENDEDSYNTAX : Extended syntax