Functions; Random; Comparison - Universal Devices ISY-994i User Manual

Home automation
Hide thumbs Also See for ISY-994i:
Table of Contents

Advertisement

a : Either a variable or an integer constant
Assign
Add
Subract
Multiply
Divide
Remainder
And (binary) $x &= a
Or (binary) $x |= a
Xor (binary) $x ^= a
8.2.10

Functions

8.2.10.1Random

$x = Random a (Assigns $x a random value between 1..a inclusive, or 1 if a <= 1)
$x = Random 3
$y = 500
$x = Random $y
$x = Random -50 // Assigns $x a value of 1

8.2.10.2Comparison

Equal
Not Equal
Less Than
Less Than or Equal
$x = a
$x += a
$x -= a
$x *= a
$x /= a
$x %= a
// Assigns $x either 1, 2, or 3
// Assigns $x a random value between 1 and the value of
$y (e.g. 1..500)
$x is a
$x is not a
$x < a
$x <= a
Page | 124

Advertisement

Table of Contents
loading

Related Products for Universal Devices ISY-994i

Table of Contents