Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
STATIC variables
Message
From
31/08/2000 09:58:39
Walter Meester
HoogkarspelNetherlands
 
 
To
31/08/2000 09:13:23
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00411182
Message ID:
00411240
Views:
14
Hi J.

>You mean a variable that will hold its value application-wide?
>
>Just declare it Public on your main program or, as Walter mentioned, make it a property of oApp object if you have one.

STATIC variables in fact are a combination of Public and local:

Public, because if the variable goed out of scope, it still exists and holds a variable.
Local, because it is only visible in the routine where it is created.

Walter,
Previous
Reply
Map
View

Click here to load this message in the networking platform