Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Set default to a variable
Message
 
 
À
26/03/2009 01:57:56
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01390475
Message ID:
01391545
Vues:
39
Would not work as is if the directory contains spaces.

>>I have a variable cDir, I want to set default to cDir.
>>
>>I tried SET DEFAULT TO &&cDir, but it doesn't give me the correct result.
>>
>>Pls help. TIA.
>
>I know you've gotten answers about a better way to do this but.............
>
>using a macro expansion should work. Unless there's a typo in your message you have one to many &
>
SET DEFAULT TO &cdir
>
>You've actually turned cDir into a comment and have issued
>SET DEFAULT TO
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform