Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Public variables become Private
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00021278
Message ID:
00021294
Views:
37
> > >I created one form in which I used scatter memvar command. Now these > variables were public & so available > >throughout the form. > >Now I call this form from a program. This time scatter > >memvar does not created public variables but they were > >private. > >What is this??Can anybody help me so that if I call the > >form from a program and these varibles remain public. > >Otherwise I have to go into each of my forms & change > >handling of some parts. > > > >Thanks > >Narendra > > i'd recommend against using public variables. if you issue 'scatter > memvar' command from command window, the variables are public. if issued > from within form, the variables are (by default, i think) private to that > form. I'd say they are private to the method that issued the scatter memvar statement, making it perfectly unusable... Marc

If things have the tendency to go your way, do not worry. It won't last. Jules Renard.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform