15 Until - Why it's not running right?


#1

l = 1
until l == 50 do
print l
l += 1
end

Whi is it counting only until 49?


#2

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...