#How to use break

13 messages · Page 1 of 1 (latest)

candid vortex
#

Its for stopping a while true

#

So for example
while true do
print(“toe nails”)
break
end

#

Yk

#

So you could do like wait 10 then it breaks

#

Why wud u want to break that

#

And not it wouldnt

#

it needs to be inside a loop

#

infact

#

You can use it inside of any loop

sweet anvil
#

break doesn't propagate. It can only be used directly within a loop

#

What break?

#

That loop looks redundant to me

#

No need to break anything