General information
Category:
Coding, syntax & commands
If you make the Variable LOCAL or PRIVATE I see no reason why not. They will get destroyed when the program ( stored procedure ) returns to the calling code.
Glenn
>Can I put class definition in the Stored procedure?
>
>>Yes Nadya, the local variable when going out of scope will cause the object destroy event to fire.
>>Glenn
>>
>>>>I suppose you could create a local Object at the beginning of the routine and store state to it. In the destroy event of the object it can restore state.
>>>>
>>>>Glenn
>>>
>>>Good idea! So, this variable is get destroyed when you interrupt by ESC? E.g. does Destroy fire when you Cancel out of procedure?
>>>
>>>In the meantime I tried my idea of CleanUp, but it doesn't seem to work, e.g. I don't know how to invoke this VFP interrupted dialog programmatically...
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