Variable bug?
Posted: Thu Apr 22, 2004 5:07 am
Earlier today I was trying to convert a macro over to the new MQ2Data system, but the old variables were not being parsed correctly.
When I ran this through the macro, echo'ing out the value of either variable, it would print "@loc_x" or "@loc_y". The only way I could get this fixed, was to remove the underscore from the variables.
As soon as they became "locx" and "locy", everything worked normally. I'm not sure if this is intentional or not, if it was, then I missed a post or two somewhere.
Code: Select all
/declare loc_x global
/declare loc_y global
/varset loc_x ${Me.X}
/varset loc_y ${Me.Y}As soon as they became "locx" and "locy", everything worked normally. I'm not sure if this is intentional or not, if it was, then I missed a post or two somewhere.