+ Use new DirectoryExists function

This commit is contained in:
michael 2003-10-26 12:24:29 +00:00
parent 90062097c9
commit 801695a4b0

View File

@ -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