The UNTIL command requires a REPEAT command with it. Put REPEAT before the code you want repeated, and UNTIL after the code to be repeated. UNTIL requires a condition as well - this can be any normal expression you may use with IF, for example. This will tell it when the loop should stop - UNTIL A==1 for example will keep looping until A is equal to 1.