lua-users home
lua-l archive

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


David Dunham wrote:
for k,v in pairs(a) do b.k = v end

(which I don't think is correct in Lua).

nope; the correct would be:

for k,v in pairs (a) do b[k] = v end

--
Javier