31.10.2018, 13:45
(31.10.2018, 13:40)admin Wrote: Variable names cannot have minus signs in them, because it's a math operator.
Code:INPUT_A = grp.getvalue('63/1/1')
INPUT_B = grp.getvalue('6/2/11')
if INPUT_A < INPUT_B then
grp.write('1/0/108', false)
end
Sorry. I wrote it wrong in the tread. Should have been INPUT_A and INPUT_B as it is in my script.
The way you write it is working fine, but i want to have the output as a variable. Is that not possible in LUA?