Obj_FindValue

SUMMARY

Obj_FindValue - Find value in a given list

SYNTAX

Obj_FindValue(PointID, ValueList)

ARGUMENTS

PointID
Name of the data object
ValueList
Values to be compared with

RETURN VALUE

0 = no match
1 = match

DESCRIPTION

The value of a defined data object is compared against the defined values.
Note:
The queried data object must not be of the type ‘float’

EXAMPLES

Obj_FindValue(Test_0,1:3:-5)

If the data object ‘Test_0’ holds the value 1,3 or -5 a ’1’ is returned, any other value returns a ‘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