AnsweredAssumed Answered

How to check multiple values in "if-then-else"?

Question asked by OnlyOne on Dec 8, 2008
Latest reply on Dec 9, 2008 by OnlyOne
Hello,
i want to create an "if-then-else" block and check for the if-condition two (or more) values.
Normally the code would look like this:

"
if (varA >10) AND (varB< 9)
..executeIfCode..
end if
"


But it seems not be be possible to check more then one value in TestExec per if.
That means i have to use two (or more) If´s.

"
if varA >10
if (varB < 9)
..executeIfCode..
end if
end if
"


Is this correct? Or is there a way to check both values in only one line by using AND, OR?

Thanks  

Outcomes