Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Memvar public?
Message
De
28/05/2003 13:59:09
 
 
À
28/05/2003 13:48:35
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00793628
Message ID:
00793634
Vues:
23
Hi, Gary.

>Is there any short cut to scatter memvar and then make all the memvar variables public without referencing each one individually.

I don't know the immediate answer for this question, but I'd rather prefer doing something like this:
public oData
oData = createobject("Empty")
scatter name oData Additive
this way all of your fields will turn into properties of the oData object, that you can use afterwards with a gather, just like you would do with variables (and you don't end up with several public variables - which is usually not good).

HTH
Claudio Lassala
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform