Преглед изворни кода

+ Use new DirectoryExists function

michael пре 22 година
родитељ
комит
801695a4b0
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      docs/sysutex/ex26.pp

+ 1 - 1
docs/sysutex/ex26.pp

@@ -6,7 +6,7 @@ Program Example26;
 Uses sysutils;
 
 Begin
-  If Not FileExists('NewDir') then
+  If Not DirectoryExists('NewDir') then
     If Not CreateDir ('NewDir') Then
       Writeln ('Failed to create directory !')
     else