Program sources contain a top-level block called PGM.
This block will automatically contain the blocks DECL PGM and INIT PGM:
the DECL PGM block is used to declare the program's global variables (Visual Adelia or Adelia Web programs),
the INIT PGM block is the program's entry point.
The PGM block may also contain the following block types:
PAGE (with Web sources),
WINDOW (with interactive Visual Adelia sources),
TRANSACTION (with interactive Adelia sources),
CHANGE PAGE (with batch Visual Adelia programs),
BACK PGM (with Web sources).
All these blocks let you manage the corresponding source (letting you work with a window, break, procedure or page change).