IPB

> begin...end construct (reserved words)
Чат
Форум
Загрузка...
 

Language:
Русский
English

 begin...end construct (reserved words)


This construct is a compound statement. The begin and end reserved words serve as statement brackets.

Syntax

 begin
   statement;
   statement;
   ...
   statement
 end;

Remarks

When bracketed in this way, any number of consecutive statements are treated as a single statement.

Example

 (* Compound statement used within an "if" statement *)
 if First < Last then
 begin
   Temp := First;
   First := Last;
   Last := Temp;
 end;

 
 К началу страницы 
Тэги: begin
 

Код для вставки: :: :: :: ГОСТ ::
Поделиться: //
 



-
Хостинг предоставлен компанией "Веб Сервис Центр" при поддержке компании "ДокЛаб"