User guide

52
For example, you can check to see if a Variable is a certain value, if it’s NOT a certain
value, if it’s greater than a certain value, etc. You can also compare one variable to
another.
In this screenshot we are checking to see if a variable called Counter is greater than 3:
3.5.3 Modifying Variables in Programs
You can also use ISY Programs to modify variables. You can perform standard
arithmetic functions on a variable, change a variable to a specific value, or modify a
variable’s Init state.
The following functions can be performed on a variable:
= This sets the variable to a specified value.
+= This adds to the variable
-= This subtracts from the variable
*= This multiples the variable
/= This devices the variable
%= This performs a remainder function on the variable
&= This performs an And (binary) function on the variable
|= This performs an Or (binary) function on the variable
=Random This sets the variable to a number between 1 and the specified
number
Init To This sets the variables Init value