end
The End keyword is fundamental to Pascal - it terminates statement blocks. The most common usage is:
Begin
... statements ...
End;
Example
Download This Source for Free Pascal
var
i : Word;
begin
i := 2;
if (i<3) then begin
case i of
0 : Writeln('i = 0');
1 : Writeln('i = 1');
2 : Writeln('i = 2');
End;
End;
End.
Output
i = 2
See Also
Begin,
Case,
Library,
Program,
Try,
Type,
Unit.