6 Replies Latest reply: Mar 14, 2014 8:04 AM by Coen Donders RSS

    comparison operator in if statement

      In the expression or script, I want to add logic,  volumn ("greater" or "less" depends on the vSet boolean value) than 10.


      if(volumn"????"10, dosth, dosthelse)


      My question is how to write the "????" part.


      It should be something like.  if(greater=1,>,<).


      I have tried:

      if(volumn&if(greater=1,'>','<')&10, dosth, dosthelse), but it is not working.