How can you compare against multiple possibilities in one argument?
Example:
if ((integer == 2) || (integer == 5)) if ((string == \"hello\") || (str
First of all string comparasion doesn't work that way in C, I know nothing about objective-c, thought.
For the comparison against compile time integral constants, in C you have the switch statement:
switch (integer) { case 2: ; case 5: ; /* do stuff here */ }