Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
RUN w/ macro substitution (&)
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00085915
Message ID:
00085918
Vues:
35
>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform