Re: lua tables/keys
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
- Subject: Re: lua tables/keys
- From: "Alexandr Leykin" <leykina@...>
- Date: 2008年3月14日 21:33:02 +0000
Sorry this is my bug... "a" recursively
as badly with lua-tables
such a good container,
but it does not present in any language :-(
2008年3月12日, Alexandr Leykin <leykina@gmail.com>:
Hello!
How to know to be a key in lua table? Without use pairs/ipairs/next?
a = {a,b,c,d}
a.a => nil, but key "a" present in table!
a.f => nil, but key "f" not in table!
Than differ a.a and a.f??? (a.a - key in the table a, a.f - not)
Thanks.
--
Alexandr