lua-users home
lua-l archive

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


Nope. tbl was defined just before it, as an empty table. #tbl would be
0 anyways.

On Wed, Dec 1, 2010 at 9:48 PM, Lorenzo Donati
<lorenzodonatibz@interfree.it> wrote:
> Ouch! Yes. I implicitly assumed in my example that "a" was local.
> But that
> local c = 0
> is a typo? Shouldn't it be
> local c = #tbl
> ?