Repeat : Until

Syntax

Repeat
  ...
Until <expression> [or Forever] 

Description

This function will loop until the <expression> becomes true. Any number can be repeated. If an endless loop is needed then use the Forever keyword instead of Until.

Example :

  a=0
  Repeat 
    a=a+1
  Until a>100 

This will loop until "a" takes a value > to 100, (it will loop 101 times).