Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
This one has me baffled
Message
De
30/03/1998 14:57:11
 
 
À
30/03/1998 14:52:56
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00088012
Message ID:
00088194
Vues:
33
>The use of the public variable 'goName' is always available -- I know that
>some folks on the UT think that public variables are the source of the
>world's problems, but when the 'DO FORM xx NAME goxx LINKED' employs a
>publicly declared 'goxx' it works -- menu code, prg code, methods in other
>forms, etc. Source of the procedural code does not matter, leaves name
>around forever -- i.e. until 'RELEASE goxx' which is either explicitly coded
>or form destroys itself. I have dozens of forms that work this way, from
>all the above mentioned code repositories.

Yes, global variables are the last straw, and this problem is too common to be resolved by extreme methods. Anyway, if you like it, this is fine.
Edward Pikman
Independent Consultant
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform