Is there a way to abort the execution of a method without raising an EAbort exception ?
Here is a problem:
....
try
  i := strtoint(Edit1.Text);
  if not (i=10) then
  begin
    showmessage('Value for I must be 10 !');
    sysutils.abort;
  end;
except
  showmessage('Wrong Value for i !');
end;
showmessage('Execution continue ...');
...
In this example program execution will not be aborted if value for i is 5 ... it will show message "Value for I must be 10 !", then message "Wrong value for i !" (because EAbort exception is raised) and then message "Execution continue ...". I know how to solve this situation, but I need general solution for sysutils.abort without EAbort exception.
 
     
    