lua-users home
lua-l archive

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


Hmmm... could this not be solved by having two different types of table 
constructors? One has the mandatory comma-separated syntax, the other
one
uses spaces, but doesn't support all types of indexes.

Lika, say: 

t = << a = << foo = 1 2 3 >> b = "hello" >> 

Yeah, I know the << >> signs are not so pretty, but we use
[[ and ]] for strings as well, so...

-- 
"No one knows true heroes, for they speak not of their greatness." -- 
Daniel Remar.
Björn De Meyer 
bjorn.demeyer@pandora.be