lua-users home
lua-l archive

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


roberto@inf.puc-rio.br (Roberto Ierusalimschy) writes:
> Maybe we could store this size in t[0]? (At least it is a numeric key
> ;)

Please don't do that -- Lua's 1-based native indexing already annoys
people, but at least they can sorta work around it if they want by using
a hashed 0-element; it would certainly annoy them even more if 0
suddenly became a weird magic element...

-Miles

-- 
I'm beginning to think that life is just one long Yoko Ono album; no rhyme
or reason, just a lot of incoherent shrieks and then it's over.  --Ian Wolff