lua-l archive
[
Date Prev
][
Date Next
][
Thread Prev
][
Thread Next
] [
Date Index
] [
Thread Index
]
Subject
:
Re: [Proposal] break do end
From
: Axel Kittenberger <axkibe@
...
>
Date
: Fri, 29 Aug 2014 11:05:54 +0200
> 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?
References
:
[Proposal] break do end
,
Thiago L.
Re: [Proposal] break do end
,
Axel Kittenberger
Re: [Proposal] break do end
,
Thiago L.
Prev by Date:
Re: Error Text Suggestion for coroutine.status in 5.3
Next by Date:
[ANN] lpty 1.1
Previous by thread:
Re: [Proposal] break do end
Next by thread:
Re: [Proposal] break do end
Index(es):
Date
Thread