lua-users home
lua-l archive

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


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