Complex conditional logic for setting object properties
I have 2 complex conditional logic conditions and I would like to see how this can be implemented in Lucid's exiting conditional logic as 1 Rule.
If (@Mode == A) AND [
if( @Styles == B) Then
Set Fill to Blue
else
Set Fill to Red
]
I would prefer not to implement 2 Rules:
If (@Mode == A) AND if( @Styles == B) Then Set Fill to Blue
If (@Mode == A) AND if( @Styles != B) Then Set Fill to Red
Rule 2:
IF ( Text contains Flag ) AND [
NOT [ If (Text contains "Yes" ) OR If (Text contains "No") ] Then
Set Fill to Yellow
]
== A * [NOT [ B + C ] ] == A * NOT B * NOT C
CONTAINS(Flag) AND DOESNOTCONTAIN("Yes") AND DOESNOTCONTAIN("No")
but it would be interesting how to implement the A * [NOT [ B + C ] ] as a single rule
--> DOESNOTCONTAIN / CONTAINS take 2 parameters how would I implement that using the formula method?
--- There are no braces to group logic.