begin
The begin function encloses a group of statements that form the body of an if/then/else statement or a while loop.
You can use the if/then/else keywords to run one or more statements conditionally. If you include more than one statement in the body of an if/then statement, you must surround the statements with the begin/end keywords. If you use only a single statement, you can omit the begin and end.
Note: Do not end conditions with a semicolon (;). This terminating syntax is necessary for statements only.
Syntax
Use this syntax:
if condition then
begin
statement1;
statement2;
end