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; procedure TCustomApplication.Terminate;
begin begin
Terminate(0); Terminate(ExitCode);
end; end;
procedure TCustomApplication.Terminate(AExitCode : Integer) ; procedure TCustomApplication.Terminate(AExitCode : Integer) ;
begin begin
FTerminated:=True; FTerminated:=True;
If (AExitCode<>0) then ExitCode:=AExitCode;
ExitCode:=AExitCode;
end; end;
function TCustomApplication.GetOptionAtIndex(AIndex : Integer; IsLong: Boolean): String; function TCustomApplication.GetOptionAtIndex(AIndex : Integer; IsLong: Boolean): String;