Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Where is the best place to declare public variables?
Message
From
30/08/2000 23:38:23
 
 
To
24/08/2000 15:19:05
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00408953
Message ID:
00411157
Views:
22
>In my apps I do have one PUBLIC variable = my application object - this guy gets created in the main.prg.

If you create a PRIVATE variable in your MAIN.prg it will be available to all the routines in your app, just like a PUBLIC. There's no reason to use one there either :-)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform