Trying to learn python by writing my first embedded python script. I want to add two numaric variables than update
the total to a third variable.
This is what I have so far:
someVar=(indigo.variables[547162679].value) ##value=400
someVar2=(indigo.variables[76708743].value) ##value=500
someVar3=someVar+someVar2
indigo.variable.updateValue(31189428, value=someVar3)
The script runs and updates the variable but what I get is 400500 not 900
So how do you add variables???
Thanks for any help
Elwood