Next: reading ppufiles
Up: Anatomy of a unit
Previous: Anatomy of a unit
The best and most updated documentation about the ppu files can be found
in ppu.pas and ppudump.pp which can be found in
rtl/utils/.
To read or write the ppufile, you can use the ppu unit ppu.pas
which has an object called tppufile which holds all routines that deal
with ppufile handling. Describing the layout of a ppufile, the methods
which can be used for it are described.
A unit file consists of basically five or six parts:
- A unit header.
- A file interface part.
- A definition part. Contains all type and procedure definitions.
- A symbol part. Contains all symbol names and references to their
definitions.
- A browser part. Contains all references from this unit to other
units and inside this unit. Only available when the uf_has_browser flag is
set in the unit flags
- A file implementation part (currently unused).
implementation part.
Michael Van Canneyt
Thu Sep 10 14:04:11 CEST 1998