- Loop( <expression>, <condition> ).
- Description: that function is a loop that build a list by evaluating the <expression> and <condition> until the result of <condition> is 1 (for True) or Nil, The function Loop returns then the list of the results of <expression>. That command is the internal representation of the loop repeat whose usage is preferable on lisibility grounds.
- Exemple(s): the commands (équivalent):
[n:=1, m:=1, n, Loop([ aux:=n, n:=m, m:=aux+n, n], m>100)]
or

[n:=1, m:=1, n, while m<=100 do aux:=n, n:=m, m:=aux+n, n od]or

[n:=1, m:=1, n, repeat aux:=n, n:=m, m:=aux+n, n until m>100 od]return the list: [1, 1, 2, 3, 5, 8, 13, 21, 34, 55, 89] (terms of a sequence of FIBONACCI below 100).