Since UNTIL serves to terminate a repeat-until loop (which is started by the REPEAT keyword), it should appear after the repeat-until loop. Example:
repeat x = sqr(x) + y
Add the UNTIL keyword to the end of the repeat-until loop to correct the error:
repeat x = sqr(x) + y until x > 4
See Also
Errors