1.2 Global directives

Global directives affect the whole of the compilation process. That is why they also have a command line counterpart. The command line counterpart is given for each of the directives. They must be specified before the unit or program clause in a source file, or they will have no effect.

  1.2.1 $APPID : Specify application ID.
  1.2.2 $APPNAME : Specify application name.
  1.2.3 $APPTYPE : Specify type of application.
  1.2.4 $CALLING : Default calling convention
  1.2.5 $CODEPAGE : Set the source codepage
  1.2.6 $COPYRIGHT specify copyright info
  1.2.7 $D or $DEBUGINFO : Debugging symbols
  1.2.8 $DESCRIPTION : Application description
  1.2.9 $E : Emulation of coprocessor
   Intel 80x86 version
   Motorola 680x0 version
  1.2.10 $G : Generate 80286 code
  1.2.11 $INCLUDEPATH : Specify include path.
  1.2.12 $INTERFACES : Default interface type
  1.2.13 $L or $LOCALSYMBOLS : Local symbol information
  1.2.14 $LIBRARYPATH : Specify library path.
  1.2.15 $M or $MEMORY : Memory sizes
  1.2.16 $MODE : Set compiler compatibility mode
  1.2.17 $MODESWITCH : Select mode features
  1.2.18 $N : Numeric processing
  1.2.19 $O : Level 2 Optimizations
  1.2.20 $OBJECTPATH : Specify object path.
  1.2.21 $P or $OPENSTRINGS : Use open strings
  1.2.22 $PASCALMAINNAME : Set entry point name
  1.2.23 $PIC : Generate PIC code or not
  1.2.24 $PROFILE : Profiling
  1.2.25 $S : Stack checking
  1.2.26 $SCREENNAME : Specify screen name
  1.2.27 $SMARTLINK : Use smartlinking
  1.2.28 $THREADNAME : Set thread name in Netware
  1.2.29 $THREADING : Allow use of threads.
  1.2.30 $UNITPATH : Specify unit path.
  1.2.31 $VERSION : Specify DLL version.
  1.2.32 $WEAKPACKAGEUNIT : ignored
  1.2.33 $X or $EXTENDEDSYNTAX : Extended syntax
  1.2.34 $Y or $REFERENCEINFO : Insert Browser information