ML-x17 DATA LOGGER MANUAL
Manufacturers of low power instruments
page 52
Example: ge(10;11) returns 11; Synonym: If (x>=y) return x; else return y
4.18.8 Supported comparisons with 4 arguments:
4.18.8.1
eq(x;y;q;p)
returns q if x is equal to y else return p
Example: eq(10;11;0;3) returns 0; Synonym: If (x==y) return y; else return p
4.18.8.2
lt(x;y;q;p)
returns q if x smaller than y else return p
Example: lt(1;2;3;4) returns 3; synonym: if(x<y) return q; else return p
4.18.8.3
le(x;y;q;p)
returns q if x smaller or equal than y else return p
Example: le(1;2;3;4) returns 3; synonym: if(x<=y) return q; else return p
4.18.8.4
gt(x;y;q;p)
returns q if x greater than y else return p
Example: gt(1;2;3;4) returns 4; synonym: if(x>y) return q; else return p
4.18.8.5
ge(x;y;q;p)
returns q if x greater or equal to y else return p
Example: ge(1;2;3;4) returns 4; synonym: if(x>=y) return q; else return p
4.18.9 Various supportive functions:
4.18.9.1
pi
returns 3.1415926
4.18.9.2
time
returns seconds since midnight local time.
Example: 43200 is 12:00:00 and 86399 is 23:59:59