A.1 Basics

As described in chapter 4, page 279, unit description les (hereafter called PPU les for short), are used to determine if the unit code must be recompiled or not. In other words, the PPU les act as mini-makeles, which is used to check dependencies of the dierent code modules, as well as verify if the modules are up to date or not. Furthermore, it contains all public symbols dened for a module.

The general format of the ppu le format is shown in gure (A.1).



Figure A.1: The PPU le format

PIC


To read or write the ppule, the ppu unit ppu.pas can be used, which has an object called tppule which holds all routines that deal with ppule handling. While describing the layout of a ppule, the methods which can be used for it are presented as well.

A unit le consists of basically ve or six parts:

  1. A unit header.
  2. A general information part (wrongly named interface section in the code)
  3. A denition part. Contains all type and procedure denitions.
  4. A symbol part. Contains all symbol names and references to their denitions.
  5. A browser part. Contains all references from this unit to other units and inside this unit. Only available when the uf_has_browser ag is set in the unit ags
  6. A le implementation part (currently unused).