Reputation: 5
Please check bellow cmm script code, it is throwing error:- If anyone knows the answer please comment.
&MY_DATA=Data.LONG(ANC:0x300007FF9C8ABC)
&CHECK_VAL=&MY_DATA&(1<<&BITPOS) ;this should work
IF (&CHECK_VAL==(1<<&BITPOS)) ;this should work
error massage was:- IF (&CHECK_VAL==(1<<&BITPOS)) ^symbol not found
Upvotes: 0
Views: 160
Reputation: 4183
In general your script should work. I assume that your macro &BITPOS does not contain a numeric value.
I suggest debugging your PRACTICE script. To do so:
What is the content of &BITPOS right before stepping over the line causing the error?
Upvotes: 0