lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


> Can we change goto and labels to do an implicit do...end, then?

in my opinion horrible as well. It would make a goto hell only worse. Take following code:

a = "foo"
::somelabel::
local a = "bar"
if condion then goto somelabel end
print( a )

What do you expect a to be?