Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Alternative to RELEASE ALL LIKE?
Message
From
11/04/2003 17:28:35
 
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00776765
Message ID:
00776803
Views:
12
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.

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.

Thanks,

Michelle
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform