I have not personally tried using temporary variables in an IF statement, so I cannot claim that to the be issue. However, you may want to try this instead.
Code:
1(0).1(0).1(%g1).OBX(0).#1(0).[0] eq =3
Brian Lubkeman
Technical Analyst III - Integrations
McFarland Clinic, Ames, Iowa
Having you tried naming the temp variable something alpha rather than numeric (i.e. @three instead of @3)? Probably not the issue, but sometimes odd things happen…..