[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: [ANN] Updated uFAQ (Unofficial Lua FAQ)
- From: Geoff Leyland <geoff_leyland@...>
- Date: Tue, 30 Aug 2011 10:23:03 +1200
On 30/08/2011, at 10:19 AM, Peter Cawley wrote:
> On Mon, Aug 29, 2011 at 10:30 PM, Geoff Leyland
> <firstname.lastname@example.org> wrote:
>> repeat print("A"); continue; local stop = true; until stop
> My answer is that the snippet you've given should cause a compilation
> error due to the `continue` skipping over a local declaration which is
> then used in the `until`.
Which is what the uFAQ says goto does, I guess without the "then used..." part.