lua-users home
lua-l archive

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


John,

> for k, v in instanceofmyclass:pairs() do ... end
> for k, v in instanceofmyclass do ... end

I'm after code that's quite a bit more generic than this, and in particular supports plain tables.

Best regards,

--
DoubleF