decorative banner

Previous | Next               Table Of Contents > 1 Basic syntax > 1.6 Loops

1.6 Loops

A loop statement consists of the keyword loop, followed by an integer number or a variable, followed by a statement block. A statement block begins with the begin keyword and ends with the end keyword. The statement block is mandatory.

The syntax is

loop <integer number> begin


Some examples are

loop 25 begin


loop ~my_variable begin


Previous | Next