Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Store Command
Message
 
 
To
21/08/2001 16:59:21
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Miscellaneous
Thread ID:
00546986
Message ID:
00546997
Views:
19
>I ran into something interesting today. The code I was updating used the command STORE. Is it still valid to use this command anymore?
>Thanks,
Sure. It's usefull if you want initialaze multiple variables with the same value, for example
STORE 0 TO lnCount1, lnCount2, lnCount3
You can also use this command for indirect assigment. The example below assigns value "Some String" to the variable wich name is stored in the variable lcVarName
lcSomeVariable  = ""
....
lcVarName = "lcSomeVariable"
Store "Some String" TO ( lcVarName )
? lcSomeVariable     && Displays 'Some String'
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform