until Example
10 CLEAR SCREEN
20 Loop=0
30 REPEAT
40 Loop=Loop+1
50 PRINT Loop
60 WAIT 1
70 UNTIL Loop=10
80 PRINT "If the last number printed is 10, then the test passed."
90 END