[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Size of a non numerical indexed table
- From: Wim Couwenberg <wcou@...>
- Date: Thu, 01 Sep 2005 16:00:47 +0200
You seem to misunderstand - I am not using table.getn. I'm almost 100%
sure I was trying to use table.foreach, and in this particular
circumstance, it wasn't iterating over every element, but was stopping
when it reached the first nil.
table.foreach (or table.foreachi for that matter) can never report a nil
value, because nil values are not present in a table.