Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Store Command
Message
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Miscellaneous
Thread ID:
00546986
Message ID:
00547005
Views:
22
>
>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--
Previous
Reply
Map
View

Click here to load this message in the networking platform