[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: unpack hash part of table
- From: 云风 Cloud Wu <cloudwu@...>
- Date: Tue, 29 Mar 2022 17:42:06 +0800
Spar <developspartv@gmail.com> 于2022年3月29日周二 17:27写道:
>
> As universal function to unpack hash-key-values it's great. But this might be useful for specific tables structures like Color. In that case it's better to use getfield directly. This will fulfill consistent and specific use
For the table { x = 1, y = 2, z = 3, w = 4},
I test the getfield version.
--
http://blog.codingnow.com