>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
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only