Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Alternative to RELEASE ALL LIKE?
Message
From
11/04/2003 17:32:27
 
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00776765
Message ID:
00776804
Views:
23
>So why are you using public variables at all? Variables declared private in the main program work just like publics, but they won't have the documented limitation.
>
>Hmmm... Well, that sorta worked. If I make them private, it doesn't work in test mode because they're not in scope from the command window. But if I make them public, I can't do the RELEASE ALL in the clean up code.

???? I sure can see private variables from the command window. What exactly do you mean by "test mode"?

>
>So what I did was test to see what mode I'm in and make them public if I'm in test mode. Which means the cleanup code is a pain to test now, but it's only a small section of the code, so that's ok.

If you've got an arrangement that works, I guess that's all that matters.
Fred
Microsoft Visual FoxPro MVP

foxcentral.net
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform