Chapter 14
The OBJPAS unit

The objpas unit is meant for compatibility with Object Pascal as implemented by Delphi. The unit is loaded automatically by the Free Pascal compiler whenever the Delphi or objfpc more is entered, either through the command line switches -Sd or -Sh or with the {$MODE DELPHI} or {$MODE OBJFPC} directives.

It redefines some basic pascal types, introduces some functions for compatibility with Delphi’s system unit, and introduces some methods for the management of the resource string tables.


 14.1 Types
 14.2 Functions and Procedures
   AssignFile
   CloseFile
   Freemem
   Getmem
   GetResourceStringCurrentValue
   GetResourceStringDefaultValue
   GetResourceStringHash
   GetResourceStringName
   Hash
   Paramstr
   ReAllocMem
   ResetResourceTables
   ResourceStringCount
   ResourceStringTableCount
   SetResourceStrings
   SetResourceStringValue