lua-users home
lua-l archive

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

I'm not too sure what you mean, as "until something-with-x" does not access the local declared inside the if statement, so why would continue throw an error? -confused-

- Alex

----- Original Message ----- From: "dcharno" <>
To: "Lua list" <>
Sent: Tuesday, February 26, 2008 11:14 AM
Subject: Re: upcoming changes in Lua 5.2 [was Re: Location of a package]

What would happen if someone wrote:

    if not something then
       local x = ...
  until something-with-x

Existing code would not break until someone adds a 'continue', then its not existing code ...