Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Persistant variables
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00095420
Message ID:
00095435
Views:
21
>>I need an persistant object variable that is not affected by the clear or release commands (any options). Is this possible?
>>
>>I dont want to recode using to use the except option, I just need a persistant object variable.
>>
>>TIA
>
>There is a way to do this, although your code readability will suffer. VFP's system variables never lose their value, even when commands like CLEAR ALL or RELEASE ALL are issued. You could employ one of these variables that you don't use in your application to hold a value you need. There variables are typed, so therefore you'll have to use a date system variable for a date data type, and so forth. One example of a system variable that isn't widely used anymore is _FOXDOC (at least I don't think so). See the VFP Help file under system variables.
>
>HTH

We need to hold an object and we could not find one that is for an object.
Do you know one?
Bret Hobbs

"We'd have been called juvenile delinquents only our neighborhood couldn't afford a sociologist." Bob Hope
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform