 |
ALPHA-VISION® Functions of Data Object Server: Obj_ValCmp
|
Obj_ValCmp
SUMMARY
Obj_ValCmp - Compare actvalue with value
SYNTAX
Obj_ValCmp(pointid,value);
ARGUMENTS
- pointid
-
Name of the Data Object whose value is to be compared -
- Value
-
- with the value defined here.
RETURN VALUE
0: false
1: true
DESCRIPTION
Compares the value of a Data Object with a given value.
EXAMPLES
Obj_ValCmp(ELEV0,13);
The value of Data Object ELEV0 is compared with 13.
If the value of 'ELEV0' is 13, a 1 is returned, any other value
returns 0.
Syntax Notation
- [aaa]
- aaa is optional (zero or one occurences)
- (aaa|bbb)
- aaa exclusive or bbb
- (aaa)*
- aaa may occur indefinitely often or may be omitted
- (aaa)+
- aaa may occur indefinitely often but at least once
- (aaa)m..n
- aaa may occur from m to n times