Begin

From Free Pascal wiki
Revision as of 19:43, 8 March 2006 by FPK (talk | contribs) (Reverted edit of Rd27642926, changed back to last version by Nluckhurst)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

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.