7.3.3 Delphi compatibility mode

Switching on Dephi compatibility mode has the following eect:

  1. Support for Classes, exceptions and threadvars is enabled.
  2. The objpas is loaded as the rst unit. This unit redenes some basic types: Integer is 32-bit for instance.
  3. The address operator (@) is no longer needed to set event handlers (i.e. assign to procedural variables or properties).
  4. Names of local variables and method parameters in classes can match the name of properties or eld of the class.
  5. The String keyword implies AnsiString by default.
  6. Operator overloading is switched o.