lua-users home
lua-l archive

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


2014-05-18 19:44 GMT+02:00 Andrew Starks <andrew.starks@trms.com>:
> On Sunday, May 18, 2014, Coda Highland <chighland@gmail.com> wrote:
>> Hey, that's not true, I'm a big fan of the __div/__idiv suggestion. It
>> even LOOKS like navigating a hierarchy.
> The global namespace requirement makes me nervous enough to
> put it in the same box though.

You can always quote a globally shadowed field name.

> a={b={table=3}}
> a/b//'table'
3