소스 검색

+ 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