Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Macro Substitution Not Working in exe
Message
From
16/09/2004 16:33:28
 
 
To
16/09/2004 16:30:58
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00943098
Message ID:
00943102
Views:
17
There may be spaces, which is why I need to use this method.

>James,
>
>I don't know why its not working, but I'd suggest that you eliminate macro substition completely. Are there spaces in lcCommand?
>
>
>DO (lcCommand)
>
>>Can anyone tell me why the following code works in debug but not in the exe?
>>
>>lcFile = ALLTRIM(cText)
>>lcPrg = JUSTSTEM(lcFile) + ".prg"
>>lcCommand = "'" + lcPrgDir + lcPrg + "'"
>>DO &lcCommand
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform