en lugar de clear enents usa QUIT
>I use : ON ERROR do RUTERROR.
>In RUTERROR i have a form, in this display de error number,description...
>In this form i have a command button with the caption "Exit to Windows"
>this bottom have the code:
> CLEAR EVENTS
>but this command have no effect, the program continue executing the sentence below the sentence with the error.
>Many thanks
B.D.H.