cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community login and other support tools will be unavailable Saturday May 3rd 9:00 am to 3:00 pm (EST) due to planned maintenance. Learn More

Translate the entire conversation x

Compound IF statement with text

relayman357
11-Garnet

Compound IF statement with text

I have seen compound IF statements that evaluate numerical values.  e.g.  if (a=1,2,3)

 

How can I construct a compound IF statement where the variable being evaluated is text?  I want the IF loop to run if the text value Fault is A or B.

 

e.g.  if (Fault="A", "B")

 

snip.png

 

thanks,

relayman

 

p.s. Prime 8

ACCEPTED SOLUTION

Accepted Solutions

Hi,

Like this

Capture.JPG

Cheers

Terry

View solution in original post

2 REPLIES 2

Hi,

Like this

Capture.JPG

Cheers

Terry

Well, there it is.  Thank you Terry

Announcements

Top Tags