Re: Long chains of objects (aka tables)
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
- Subject: Re: Long chains of objects (aka tables)
- From: Petite Abeille <petite.abeille@...>
- Date: 2014年5月17日 19:34:45 +0200
On May 17, 2014, at 7:07 PM, Thiago L. <fakedme@gmail.com> wrote:
> I want something like |local v = t?t1?t2?t3|... (actually I want |local v = t?.t1?.t2?.t3|…)
Why don’t you simply write a little function that does exactly that then?
v = get( t, ‘1.2.3.4.5.6.7.8.9’ )