Difference between revisions of ":Push Services/98/en"

From meteobridge
Jump to: navigation, search
(Importing a new version from external source)
 
(Importing a new version from external source)
Line 4: Line 4:
 
! Description
 
! Description
 
|-
 
|-
|'''&&''', '''||'''  
+
|'''&&''', '''||''', '''&''', '''|'''  
 
|logical "and", "or" operators working on value range: 1=true, 0=false
 
|logical "and", "or" operators working on value range: 1=true, 0=false
 
|-
 
|-
|'''==''', '''!=''', '''>''', '''>=''', '''<''', '''<='''
+
|'''==''', '''=''', '''!=''', '''<>''', '''>''', '''>=''', '''<''', '''<='''
 
|comparison operations working on value range: 1=true, 0=false
 
|comparison operations working on value range: 1=true, 0=false
 
|-
 
|-

Revision as of 22:02, 2 October 2014

operators in increasing precedence (from top to bottom)
Operator Description
&&, ||, &, | logical "and", "or" operators working on value range: 1=true, 0=false
==, =, !=, <>, >, >=, <, <= comparison operations working on value range: 1=true, 0=false
+, - arithmetic operators "plus" and "minus"
*, / arithmetic operators "multiply" and "divide"
^ arithmetic operator "power"

Result of the expression is interpreted as a boolean. Values above zero are regarded "true", values below or equal zero are regarded "false". When "incremental alarm" is specified, Meteobridge compares new value with former value and does trigger an alarm, when new value is bigger then the one that has triggered an alarm before.