<< back to sysax.com Product page

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.

Exhibit 1.7. Syntax of loop statement

loop <integer number> begin

end

Exhibit 1.8. Examples for using the loop statement

loop 25 begin

end



loop ~my_variable begin

end