lua-users home
lua-l archive

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


On 30/08/2011, at 10:19 AM, Peter Cawley wrote:

> On Mon, Aug 29, 2011 at 10:30 PM, Geoff Leyland
> <geoff_leyland@fastmail.fm> 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.