Hi,

In an if statement i want to check multiple conditions (for the same result), but am thinking that there is a quicker way....at the moment ive got it working as follows:

Code:
if('x' == 0 && 'y' == 0 && 'z' == 0)//and 16 more variables ==0!
{
 //do something
}
as you can see the if statement will go on forever! Any suggestions?

Thanks in advance!