DEFTYPE.w i ; Notice the loop will continue /until/ i = 10 ; If you used a while loop, you would probably need a different ; comparison operator Repeat NPrint "First loop, counting: ",i i+1 Until i=10 ; This loop will only work once, since the expression is true immediately i = 0 Repeat NPrint "Loop2, counting: ",i i + 1 Until i < 10 MouseWait End