Преглед на файлове

+ 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