lua-users home
lua-l archive

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


> > When running exactly the same test with the same data over and over, I
> > keep getting different results, usually with a message that says
> > "attempt to index field '?' (a nil value)", in different places in my
> > code.
> 
> you're probably doing something like a[x][y] and a[x] is nil.
> check the line number in the error message.

I meant that that error message usually comes from expressions like a[x][y]
when a[x] is nil. It is not related to the weird irreproducible error...