logical operators
Posted: Mon Aug 04, 2008 11:55 am
I have a problem with an IF THEN ELSE function.
The function is the following:
measure= IF THEN ELSE (threshold1>=value1 :OR: threshold2>=value2 :OR: threshold3>=value3, 100, 0)
There is a problem with the logical operators. I want to express that, if one or more of the thresholds are reached or exceeded, measure turns 0. But it doesn't work.
Is it not possible to include :OR: in an IF THEN ELSE function? Probably I need to include :AND: somehow to state that the IF conditions can also happen in combination. :AND: or :NOT: are included in the Users Guide (as examples), so I expected :OR: to work as well...?
Danny
The function is the following:
measure= IF THEN ELSE (threshold1>=value1 :OR: threshold2>=value2 :OR: threshold3>=value3, 100, 0)
There is a problem with the logical operators. I want to express that, if one or more of the thresholds are reached or exceeded, measure turns 0. But it doesn't work.
Is it not possible to include :OR: in an IF THEN ELSE function? Probably I need to include :AND: somehow to state that the IF conditions can also happen in combination. :AND: or :NOT: are included in the Users Guide (as examples), so I expected :OR: to work as well...?
Danny