Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Memvar public?
Message
From
28/05/2003 13:59:09
 
 
To
28/05/2003 13:48:35
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00793628
Message ID:
00793634
Views:
24
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
Previous
Reply
Map
View

Click here to load this message in the networking platform