Expressions: how to compare to more than one value

   892   0   1
User Avatar
Member
205 posts
Joined: Dec. 2009
Offline
Hi,

I know I can do something like
(Val==1) || (Val==5) || (Val==8)
in the expression field of a switch sop.

But, is there a way to make it more readable?

Does something exist like
len(find(Val,[1,5,8]))>0
or even simpler?

Cheers,
Marc
  • Quick Links