Guide

Step By Step

Loops

Loops repeat

Loops are architectures that repeat.

They are very useful if, lets say, a program should never stop running. Like a system that checks if everything is ok.

<loop_name> : [<loop_type>] loop
     <code>
     [exit when <condition>]
end loop <loop_name>;