Next: , Previous: Assignment, Up: Statements



6.1.7.2 begin end Compound Statement

It looks like that:

     begin
       statement;
       statement;
       ...
       statement
     end

This statement joins several statements together into one compound statement which is treated as a single statement by the compiler. The finishing semicolon before end can be left out.