Information générale
Catégorie:
Codage, syntaxe et commandes
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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement