22.10.2019, 13:01
Hello
How to get safely custom values into a Lua table?
In Object.enums I see:
{"0":"OK","1":"On"..."255":"Error"}
I need a table containing:
t[0]="OK"
t[1]="On"
...
t[255]="Error"
Do you have a tested script which parse object.enums string into such table?
Thank you
How to get safely custom values into a Lua table?
In Object.enums I see:
{"0":"OK","1":"On"..."255":"Error"}
I need a table containing:
t[0]="OK"
t[1]="On"
...
t[255]="Error"
Do you have a tested script which parse object.enums string into such table?
Thank you
LM5Lp, firmware: 2018.08.22 and 2021.12.15, FlashSYS v2, ARMv7 Processor rev 5 (v7l), kernel 4.4.151 and 4.4.259