Who can help me to create an expression,
I want create an expression where one tag return true and another tag return false like this:
IF A = true then
out := true
endif
if B = true then
out := false
endif
Thankyou
Who can help me to create an expression,
I want create an expression where one tag return true and another tag return false like this:
IF A = true then
out := true
endif
if B = true then
out := false
endif
Thankyou
if({tagpathA}, 1,
if({tagpathB}, 0,
xxx))
with xxx
whatever you want in the other case (A and B false).
Is possible without the third option and takeout xxx only this:
if({tagpathA}, 1,
if({tagpathB}, 0))
No, you need a third option. Even if A and B false can never happen, you still need to add an “else” for the second if.
You could also do it all inline, with no if statements:
{path/to/tag1} && !{path/to/tag2}