Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
PUBLIC VAR's
Message
 
 
To
19/12/2000 11:13:38
Gad Hutt
Express Print
Herzliya, Israel
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Title:
Miscellaneous
Thread ID:
00455067
Message ID:
00455077
Views:
24
>Hi All,
>
>In my MAIN PRG, I declared PUBLIC Variable that I release it at the end of my Application run. I use this variable to check if the application is already running.
>
>If I run the app twice, I don't find the public var. (I use the TYPE() function for that...), What Am I doing wrong ?
>
>Thanks,
>
>Gadi

Variables are scoped to the process that created them. When you launch your application again, none of the variables will be visible. Here is an article fro FoxPro Advisor by George Tasker on one way to do this. Because of its flexibility, I think it is the best.

http://www.advisor.com/Articles.nsf/aid/TASKG05
Larry Miller
MCSD
LWMiller3@verizon.net

Accumulate learning by study, understand what you learn by questioning. -- Mingjiao
Previous
Reply
Map
View

Click here to load this message in the networking platform