Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Store Command
Message
De
22/08/2001 08:26:46
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
 
À
21/08/2001 16:59:21
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Divers
Thread ID:
00546986
Message ID:
00547159
Vues:
16
>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,

To the other replies you got, I want to add that STORE is sometimes very useful to assign to properties. The following would be typical for my applications (except for the object names):

* Form.Init()
store gu_userlevel = 1 to;
  ThisForm.Cmd1.Enabled, ThisForm.Cmd2.Enabled, ThisForm.Cmd3.Enabled
Once more, if you use "=" for assignment, you would need three statements.


As to whether a command is support or not: in this case, type HELP STORE. Since it appears in the manual, it is supported. Even most old commands like "@...BOX" (where the manual says "included for backward compatibility") are supported. However, you will have to put your hands on FoxPro 2.6 to find out what such a command actually does. Some of them old commands can still be quite useful, and not only for "backward compatibility".

Hilmar.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform