Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Alternative to RELEASE ALL LIKE?
Message
 
 
À
11/04/2003 16:52:36
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00776765
Message ID:
00776803
Vues:
10
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform