Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Grid
Message
From
31/12/1999 14:34:17
 
 
To
31/12/1999 14:20:17
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Re: Grid
Miscellaneous
Thread ID:
00310213
Message ID:
00310997
Views:
20
PMFJI (But I've had this discussion Twice this week, so :-)

>>It is never necessary to declare a variable public in the main start up prg of an app. A private is globally visible to the entire application.
>... I don't understand what you want to say here. Sorry.

A PRIVATE declared in the very first routine is available to every other Routine/Method/Menu command/Report in the app. That makes it global, but is not declared PUBLIC, so your other statment:

>>So when is a var required to be public?
>Only when its real scope is over the entire application.

Is not true either if the varaible was declared public in the main program.
Previous
Reply
Map
View

Click here to load this message in the networking platform