lua-users home
lua-l archive

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


--- Mark Hamburg <mhamburg@adobe.com> wrote:
> The only way to do that in Lua seems to be to use a proxy table
> but that means that every persistent table is now two tables.

Oh, it means more than that. ;) The proxy has limitations. For
instance, you can no longer say "for k,v in mytable", and the proxy
itself is not protected from modification by metatable-unaware
functions like "table.insert". It's a bit of a kludge, no doubt.

Cheers,
Eric


__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com