* fix error as reported in webbug 2373

This commit is contained in:
pierre 2003-03-16 23:42:02 +00:00
parent 6365e9bfa8
commit 8caf047fa8

View File

@ -8,15 +8,15 @@ Uses sysutils;
Var Dirs : Array[0..127] of pchar;
I,Count : longint;
Dir,NewDir : String;
Begin
Dir:=GetCurrentDir;
Writeln ('Dir : ',Dir);
NewDir:='';
count:=GetDirs(Dir,Dirs);
For I:=0 to Count do
For I:=0 to Count-1 do
begin
NewDir:=NewDir+'/'+StrPas(Dirs[I]);
Writeln (NewDir);
end;
End.
End.