I would think it should be IF X=1 OR X=2 THEN....