You can use CANCEL or QUIT.
For the end-user, both work the same.
For the programmer, CANCEL will return to the command window, QUIT will exit the VFP IDE.
>Hi all !!
>
>Anybody would know say me as i obtain to abort the execution of the program when occur a error ?
>
>I know at Delphi have the command "abort" , and in fox have any alike ?
>
>The majority of the errors happens and soon after of being shown the error the program executes the next line to the same code giving "clear all" or "quit".
>
>Thank.
>
>Lázaro Santos.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)