Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Store Command
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Divers
Thread ID:
00546986
Message ID:
00547005
Vues:
16
>
>lcSomeVariable  = ""
>>....
>>lcVarName = "lcSomeVariable"
>>Store "Some String" TO ( lcVarName )
>>? lcSomeVariable     && Displays 'Some String'
>
>The multiple variable assigns is good with STORE, but the above can be do this way too:
>
lcSomeVar = ""
>lcVarName = "lcSomeVar"
>&lcVarName = "Some String"
>? lcSomeVar       && Displays 'Some String'
>
>But forget the & and you will have problems < s >, so STORE could save you headaches.

IMO using macro substitution in places where it can be avoided is a poor programming practice.
--sb--
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform