mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-17 11:45:32 +02:00
parent
b38a7fb852
commit
6a5ed4ac5b
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user