lua-users home
lua-l archive

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


On Mon, Dec 13, 2010 at 04:51:09PM +0200, Javier Guerra Giraldez wrote:
> On Mon, Dec 13, 2010 at 9:47 AM, Dirk Laurie <dpl@sun.ac.za> wrote:
> > 2. Let b be any neighbour of a.    -- easy, b=#F[a]. b==0 means a is isolated.
> is #t guaranteed not to be 0 if there's any member of the array part?
> i don't think so...
Oops, a careful reading of the Manual reveals you are right :-(
and a counterexample is easy to find:
> =#{nil,nil,nil,1,nil,nil}
0

Dirk