mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-19 14:19:31 +02:00
* display the wrongly obtained invalid DosError value too
git-svn-id: trunk@29664 -
This commit is contained in:
parent
7f69170352
commit
3caf47d756
@ -76,7 +76,10 @@ Procedure CheckDosError(err: Integer);
|
||||
11 : s := '(11) : Invalid format.';
|
||||
18 : s := '(18) : No more files.';
|
||||
else
|
||||
s := 'INVALID DOSERROR';
|
||||
begin
|
||||
Str (X, S);
|
||||
s := s + 'INVALID DOSERROR';
|
||||
end
|
||||
end;
|
||||
if err <> x then
|
||||
Begin
|
||||
|
Loading…
Reference in New Issue
Block a user