Name

Begin Keyword

Syntax

begin
  Statement...
end

Description

The begin keyword starts a block. A block is the main body of a program, library, procedure, function, or unit. A block can enclose any number of statements and can be used anywhere a single statement is required, such as the body of a conditional or loop statement.

The begin keyword works the same way in Delphi as it does in standard Pascal. You can also write a block in assembly language, using the asm keyword instead of begin.

See Also

Asm Keyword, End Keyword, Initialization Keyword, Library Keyword, Program Keyword, Unit Keyword
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset