26 UNTIL WAIT==20 What?? Why are you doing that? Just do a FOR I=1 TO 6:NEXT loop