Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Store Command
Message
 
 
À
21/08/2001 16:59:21
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Divers
Thread ID:
00546986
Message ID:
00546997
Vues:
15
>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--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform