 |
ALPHA-VISION® Functions of Data Object Server: Obj_CmpAttTxt
|
Obj_CmpAttTxt
SUMMARY
Obj_CmpAttTxt - Compare Textattr. 1:= equal
SYNTAX
Obj_CmpAttTxt(PointID,Attribut,String);
ARGUMENTS
- PointID
-
Name of the data object
- Attribut
-
selects the attribute of the data object
- String
-
[INPUT]
RETURN VALUE
0=false
1=true
DESCRIPTION
Compares the selected attribute with the defined string.
EXAMPLES
Obj_CmpAttTxt(ABC123,Status,LOW)
The status text of object "ABC123" is compared with the
string LOW.
On true a ‘1’ is returned otherwise ‘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