Difference between revisions of "Begin"

From Lazarus wiki
Jump to navigationJump to search
m (Reverted edit of Rd27642926, changed back to last version by Nluckhurst)
 
Line 19: Line 19:
  
 
A statement starting with '''begin''' must always be closed with the '''[[end]]''' keyword.
 
A statement starting with '''begin''' must always be closed with the '''[[end]]''' keyword.
 +
 +
{{Keywords}}
 +
 +
{{Stub}}

Revision as of 20:46, 10 May 2006

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: begindoelseendforifrepeatthenuntilwhile

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.