lua-users home
lua-l archive

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

2011/2/10 Luiz Henrique de Figueiredo <>
> dog = {'bark', 'bark', 'bark'}
> cat = dog
> print(cat[1])--> bark
> Is there a way to assign let's say 50 names to the one table in a few lines?

alias={"cat", "mouse", "lion"}

for k,v in pairs(alias) do

What will happen if we add a = b = c support in lua?