I am coding something like:
if (x=1 && y=2 && z=3 && (a=1 or 2 or 3))
That concept where I can have multiple values for a. I currently have this coded into 3 different if statements which is tedious.
Is there a simple solution, for example, calling 1,2,3 into an array and say
if (x=1 && y=2 && z=3 && a=array of 1,2,3)
Thanks
