"Is not any of".. should I use colon, semicolon, or


#1

I’m building a piston where certain address can be one of three and then something happens.
How do I separate those addresses in value line. Should I use , or ; or something else?


#2

Comparing X to a list, here are a few good examples using contains().
(it is very possible that that entire thread is Wiki material)


#3

Hmm… okay… I’m not sure where to start though.
Should I first create string variable which reports address1 and then compare it to that “contains” thing?


#4

There are many ways to skin a cat…

Personally, I like to dump the data into a string variable, and then run the comparison off of that.


#5

Ok, have to learn that…at some point. Meanwhile found different approach by using a lot of variables but hey it’s working. :slight_smile:


#6

Nothing wrong with that… (I am a huge fan of variables)


#7

I had the same question and tried commas and that works