If statement with multiple conditions

unhandled

(Huynhvannguyen6699) #1

Hi guys,
I run into trouble with “If statement” with multiple conditions. For example :
If (a=0 and b=0 and x<=(L1+L2), A, B)
But GH doesn’t allow to put “and” in the [Expression Designer]. So how can I enter the test with multiple conditions as above. Any help would be appreciated. Thanks in advance !


#2

Like this?


(Huynhvannguyen6699) #3

I got it, HS_Kim. Many thanks for your quickly help. You are exceedingly enthusiastic !


(qythium) #4

If(nested ternary operators are your thing, this works too, ignore post)

or even:

(just having a bit of fun, don’t actually do this :sweat_smile:)


(Huynhvannguyen6699) #5

Thank you so much, bro !