l = 1until l == 50 do print l l += 1end
Whi is it counting only until 49?
An until-loop keeps iterating until [i.e. not including] the condition evaluates to true. The while-loop continues until the condition is false. (dotnetpearls)
Once I == 50, it no longer needs to run...
I == 50