| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
begin statement; statement; ... statement end; |
The reserved word `begin' opens a `begin ... end' statement which joins several statements to one compound statement.
`begin' is defined in ISO 7185 Pascal
program BeginDemo;
begin
if True then
WriteLn ('single statement');
if True then
begin { clamp statement1 ... }
WriteLn ('statement1');
WriteLn ('statement2')
end { ... to statement2 }
end.
|
section 8.1.7.2 begin end Compound Statement, section 9.70 end