I am stumped. I know the answer is right in front of my eyes but i can't see it. Whats wrong with this code?
if>{(%card1%=46772787) OR (%card1%=46680165) OR (%card1%=6439945) OR (%card1%=64777281)}
goto>clickCardOne
endif>
Says Error Parsing or whatever..
Thanks.
mark
Error Parsing Expression
Moderators: JRL, Dorian (MJT support)
You will get that error when the variable card1 is not assigned a value. Set it to some value before the If and you should be good.
Like so:
One other thing..... Don't put a > after Endif. My version 12.0.8 didn't complain, however the help file clearly shows that as incorrect.
Like so:
Code: Select all
Let>card1=1
if>{(%card1%=46772787) OR (%card1%=46680165) OR (%card1%=6439945) OR (%card1%=64777281)}
goto>clickCardOne
endif>
Last edited by adroege on Wed Sep 22, 2010 2:47 am, edited 1 time in total.
Just wanted to say it was a silly error. Originally when I was writing my complex expressions, I never put % signs around my variable. So I did a Find and Replace, so for instance I would type in Card1, replace all with %card1%. I never thought to check my GRC that now had percent signs around it! Silly me.