Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
RUN w/ macro substitution (&)
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00085915
Message ID:
00085918
Views:
33
>When I try a macro substituion on a memory variable
>
>for example
>
>run &exemem
>
>where exemem=notepad for example
>
>I get an error message..
>
>Windows 95 and VFP 3.0.. Any ideas?
>
>Thanks,
>
>Scott

Hi Scott

Try and build up the complete RUN expression into a variable - I think this works:
zz = 'notepad'
xx = 'RUN /n ' + zz

&xx

HTH
regards

Ian
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform