This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm that you accept these cookies being set.

Simple Script "less than" help
#2
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
Reply


Messages In This Thread
Simple Script "less than" help - by Kai-Roger - 31.10.2018, 13:33
RE: Simple Script "less than" help - by admin - 31.10.2018, 13:40
RE: Simple Script "less than" help - by admin - 31.10.2018, 14:03

Forum Jump: