CHAPTER 3  The Program Heading and  the Declaration Part  Every program consists of a heading and a block. The block contains a  declaration part, in which all objects local to the program are defined,  and a statement part, which specifies the actions to be executed upon  these objects.  Figure 3.a  Syntax diagram for  Program  Figure 3.b  Syntax diagram for  Block  ----~  LabeLDeclarationPart  f-----------.J  ConstantDefinitionPart  '-------I  TypeDefinitionPart  I--------------t  VariableDeclarationPart  ProcedureAndFunctionDeclarationPart  I----------.f  StatementPart  ProgramHeading  r--------.~CJC)~----------~.~~~----~.~~  21 