Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
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.
Can you share the App?
I would use variables:
Set
vGreater= if(volumn>10,dothis, elsethis)
and
vLess=if(volumn<10,dothis,elsethis)
Then use an expression like:
if('$(vSet)' ='>', '$(vGreater)','$(vLess)')
You could use less variables etc. but this keeps it clear...
Try maybe
=if(volumn $(=if(greater=1,'>','<')) 10, dosth, dosthelse)
Hi,
You can set your symbol in variable.
and then use that variable in your logic..
try something like this in the expression:
=if($(vSet) =1, if(volumn > 10, dosth), dosthelse)
Thanks, this is working.