[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: how to get the field names for a table
- From: "Honglei Tu" <honglei@...>
- Date: Tue, 6 Mar 2001 15:47:11 -0800
Hello,
Thank you for the answer of previous question.
LHF.
Another one:
If I have a Lua table which is
color["red" = 1 "green" =5 "blue" =6].
I wonder how to get the field names and put them
in a set. I want to get ["red" "green" "blue"].
I will write a Lua function to get them.
But is there any way to do that ?
Thank you
Honglei