git-svn-id: trunk@35877 -
This commit is contained in:
michael 2017-04-21 18:44:49 +00:00
parent b38a7fb852
commit 6a5ed4ac5b

View File

@ -362,15 +362,14 @@ end;
procedure TCustomApplication.Terminate;
begin
Terminate(0);
Terminate(ExitCode);
end;
procedure TCustomApplication.Terminate(AExitCode : Integer) ;
begin
FTerminated:=True;
If (AExitCode<>0) then
ExitCode:=AExitCode;
ExitCode:=AExitCode;
end;
function TCustomApplication.GetOptionAtIndex(AIndex : Integer; IsLong: Boolean): String;