Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Saving and restoring memory variables
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00427981
Message ID:
00428285
Vues:
22
Ron,
Vlad told you how to save your variables, but you might think about using tables and an application object instead of variables. You can define an application object which holds all of your variables as properties or you can put them into a table.

All these methods take about the same amount of time to implement, but I've found that SAVE/RESTORE can end up corrupted far more than using a DBF to store information.

>Hello all,
>
>I'm rather new to the list but I think it is great. in a former life, I could save memory variables to a file and restore them upon start of the application with the commands...
>Save All Like myvar???? to Myapp.cfg and
>Restore from Myapp.cfg additive
>Is there a similar function(s) in VFP6 or does someone have a procedure that does the same???
>
>Thanks in advance.
>
>Ron
Barbara Paltiel, Paltiel Inc.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform