lua-users home
lua-l archive

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

On Wed, Dec 31, 2008 at 03:41, Duncan Cross <> wrote:

On Tue, Dec 30, 2008 at 7:32 PM, Linker <> wrote:
But "local f;" make 'f' be a global variable.

Not at all - what makes you think that? "f" will remain a reference to the local variable until the end of the enclosing scope.
Oh,my mistaken.

Why lua do not make them(local function xxx and local yyy= function) as the same?


Linker Lin