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