[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: [ANN] Lua 5.2.0 (beta-rc3) now available
- From: steve donovan <steve.j.donovan@...>
- Date: Tue, 28 Jun 2011 08:37:29 +0200
On Tue, Jun 28, 2011 at 8:25 AM, steve donovan
<steve.j.donovan@gmail.com> wrote:
> It would appear that goto-labels are now per-block,
Indeed so!
function test()
local i = 0
repeat
::back::
i = i + 1
if i < 3 then goto back end
print(i)
until i == 10
i = 0
repeat
::back::
i = i + 1
if i < 3 then goto back end
print(i)
until i == 10
end
test()
steve d.