How to IF item1 or item2 or item3 DO

This seems a clumsy way to check against 3 text strings.

This however does not work.
image

What is the better way?
There is no CASE statement.

follow

You may use

Does the list contents .and use list of items

Did you forget to paste a picture or am I not understanding your answer?

Your list will contain all equal to statements and check if list contains value TRUE… sorry I am not in front OF PC to ist screenshot

Or

Make a block like …

If … value of object is in a list… list item1, item2 etc

1 Like

@gm.cellinig8f At the bottom of each topic is a notification menu so that you don’t have to post “follow” in order to get updates:

2 Likes

Ciao.
I’m not sure I understood. Can you please show an example of blocks?
Grazie

This would be my approach also

It’s a clever way around chaining a bunch of OR statements together.

The advantage of using this method is that if you need to add 3 more or 50 more text strings to check, it’s a simple quick process to add them. It doesn’t take any additional blocks.

2 Likes

Thanks. That is a clean and nice solution.

1 Like

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.