This mode is selected by the $MODE OBJFPC switch. On the command-line, this mode is selected by
the -S2 switch.
- You must use the address operator to assign procedural variables.
- A forward declaration must be repeated exactly the same by the implementation of a
function/procedure. In particular, you can not omit the parameters when implementing
the function or procedure.
- Overloading of functions is allowed.
- Nested comments are allowed.
- The Objpas unit is loaded right after the system unit. One of the consequences of this
is that the type Integer is redefined as Longint.
- You can use the cvar type.
- PChars are converted to strings automatically.