I'm not sure why do you need macro substitution.
X = WLNORMAL+WLREVERSE
? x
>I am trying to make a wrapper for a com object i have for wireless applications and I found something intereting and at the same time anoying
>
>check this code
>
>#define WLNORMAL 2
>#define WLREVERSE 3
>X='WLNORMAL+WLREVERSE'
>
>? &X
>
>
>this code doesn't work. I got the error:
>Variable 'WLNORMAL' is not found
>
>it doesn't happend all the time neither. some time the second one is the one not found like
>Variable 'WLREVERSE' is not found
>
>my questions:
>
>Why?
>is there any work around?
>any sugestions to achive this?
>
>thks a lot
--sb--