浏览代码

+ 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