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