Contents | Index | < Browse | Browse >
2.11 Compiler Directives

  A compiler directive is a keyword in the source code that influences the
  compiling process, rather than an expression that generates executable code.
  Compiler directives are all uppercased to identify them easily.

  Keyword          | Description
  -----------------+------------------------------------------------------------
  optimize n       | control the compiler optimizeation/syntaxmode
                   | "or" the follwing numbers:
                   | 1 : 68020 optimizer
                   | 2 : use FPU
                   | 4 : new syntax mode enabled
                   |
  Syntax n         | set the strictness:
                   | 0 : variables do not have to be declared (like BlitzBasic2)
                   | 1 : variables need to be defined via DEFTYPE
                   | 2 : vatiables need to be defined via DEFTYPE or first usage
                   | 
  CNIF condition   | compile if condition evaluates to True
  CELSE            | alternative block to CNIF
  CEND             | end the conditional block
                   |
  RunErrsOff       | switch runtime debugger off
  RunErrsOn        | switch runtime debugger on
  LastRunErrsMode  | switch runtime debugger to last state
                   |
  INCLUDE          | include a source code file
  XINCLUDE         | include a source code file (only once!)
  IncBin           | include a binary file
  
  The search order (if not an absolute path in "file") is:
  1. the path set in IDE to the includes directory
  2. the path of the current source code file
  3. the path to the executable to create
  

Contents | Index | < Browse | Browse >