Page 1 of 1

How do i use AND in a Statement

Posted: Wed Jul 06, 2022 10:07 am
by luke
{ Animal.Dog } == {Var} And {Animal.Cat} == {Var2}

Re: How do i use AND in a Statement

Posted: Wed Jul 06, 2022 10:40 am
by Kirill Klimenkov
Hello.

And is the VB.NET operator. What script language are you using (C#, VB.NET)?
Note that the whole expression should be in the curly brackets.

Thank you.

Re: How do i use AND in a Statement

Posted: Wed Jul 06, 2022 2:53 pm
by luke
thanks, Im using C#

Re: How do i use AND in a Statement

Posted: Thu Jul 07, 2022 9:25 am
by Kirill Klimenkov
Hello.

You could use the conditional logical operator.

Code: Select all

{Animal.Dog == Var && Animal.Cat == Var2}
Thank you.