Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
This one has me baffled
Message
From
30/03/1998 14:57:11
 
 
To
30/03/1998 14:52:56
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00088012
Message ID:
00088194
Views:
32
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform