Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Why this code doesn't work?
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00839067
Message ID:
00839070
Views:
16
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--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform