Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Macro Substitution Not Working in exe
Message
De
16/09/2004 16:33:18
 
 
À
16/09/2004 16:23:11
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00943098
Message ID:
00943101
Vues:
17
> 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

That ¯o substitution would fail with a "long" file /
path name containing spaces.
Does a (name expression) work for you?
DO (lcCommand)
hth
-Stefan
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform