This may be is a very basic question, but is there a way to let me omit a 
repeating variable when doing multiple boolean operations?

if ( var == a || var == b || var == c || var == d)
if ( var == (a || b || c || d) )

Reply via email to