lua-users home
lua-l archive

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

On Tue, Dec 8, 2009 at 2:46 PM, spir <> wrote:
> Is here 'level' local in the case it was not defined inthe calling expression? Or should I write:
>   local level = level or 1

Arguments are local in the scope of the function, so redeclaring does
nothing useful.