Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Scope in VFP
Message
From
28/07/2006 12:24:45
 
 
To
28/07/2006 11:53:27
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
SAMBA Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01141152
Message ID:
01141208
Views:
16
You shouldn't do that. It breaks encapsulation. Pass the variables as parameters or create a parameter object, store the results, then pass that.

>thanks cetin.
>
>my problem with local is displayed from this quote from MSDN:
>
>"Local variables and variable arrays can be used and modified only within the procedure or function in which they are created, and cannot be accessed by higher- or lower-level programs. Local variables and arrays are released once the procedure or function containing the local variables and arrays completes execution."
>
>it is only available within the program that it is being used. I often need a variable in another program or function and often need the result from a function in more than one program. Can I make local variables available to these programs without declaring them as public?
>
>thanks,
>
>paul
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform