I don't think you'd want CLEAR EVENTS to execute an implicit return. Say, for example, you had a shutdown routine. The shutdown routine would be responsible for cleaning up everything. You wouldn't want code like:
CLEAR EVENTS
_screen.activeform.release()
(Simple example)
to execute an implicit return. And you'd definately want to CLEAR EVENTS before releasing the form, I would think.
>Jeff,
>I assumed the same thing about loading a form or calling other code - until one day I called something with a return code and it 'returned' the same "" I initialized.
>
>Barbara
>
>
>>Hi Barbara,
>>
>>I had always assumed, for some strange reason, that CLEAR EVENTS had an implicit RETURN built into it - probably because it only exists in a few places in my framework and, until now, was always the last line of code.
>>
>>I'm now wondering what other assumptions I have which are not valid! :)
>>
>>Time for a vacation.
>>
>>>Jeff, this seems to be standard VFP functionality - you'll see the same thing if you call a non-modal form or show a container in the 'middle' of method-code - you won't see the form until the method-code is complete.
Eric Shaneson
Cutting Edge Consulting