* removed writelns

This commit is contained in:
peter 1998-10-16 14:20:06 +00:00
parent 792c3bfd7e
commit b4fce59bbc

View File

@ -514,7 +514,6 @@ end;
procedure findfirst(const path : pathstr;attr : word;var f : searchRec); procedure findfirst(const path : pathstr;attr : word;var f : searchRec);
begin begin
writeln('a');
{ no error } { no error }
doserror:=0; doserror:=0;
F.Name:=Path; F.Name:=Path;
@ -523,13 +522,11 @@ writeln('a');
StringToPchar(f.name); StringToPchar(f.name);
{ FindFirstFile is a Win32 Call } { FindFirstFile is a Win32 Call }
F.FindHandle:=FindFirstFile (pchar(@f.Name),F.W32FindData); F.FindHandle:=FindFirstFile (pchar(@f.Name),F.W32FindData);
writeln('l1');
If longint(F.FindHandle)=Invalid_Handle_value then If longint(F.FindHandle)=Invalid_Handle_value then
begin begin
DosError:=Last2DosError(GetLastError); DosError:=Last2DosError(GetLastError);
exit; exit;
end; end;
writeln('l1');
{ Find file with correct attribute } { Find file with correct attribute }
FindMatch(f); FindMatch(f);
end; end;
@ -879,7 +876,10 @@ End;
end. end.
{ {
$Log$ $Log$
Revision 1.9 1998-10-16 08:55:26 peter Revision 1.10 1998-10-16 14:20:06 peter
* removed writelns
Revision 1.9 1998/10/16 08:55:26 peter
* findfirst is now more delphi alike * findfirst is now more delphi alike
Revision 1.8 1998/08/16 09:12:11 michael Revision 1.8 1998/08/16 09:12:11 michael