Begin

This is an old revision of Begin, edited by Rfc1394 at . The current revision is 30086.

keyword which starts a program:

 program Project1;
 var(..);
 begin
   (..);
 end.

Or a block of actions:

 if (..)then
 begin
   (..)
 end
 else
 begin
   (..)
 end;

A statement starting with begin must always be closed with the end keyword.

Keywords: begin — do — else — end — for — if — repeat — then — until — while

An editor has declared this article to be a stub, meaning that it needs more information. Can you help out and add some? If you have some useful information, you can help the Free Pascal Wiki by clicking on the edit box on the left and expanding this page.