Browse Source

* Fix for web bug #3011

Tomas Hajny 21 years ago
parent
commit
26b49014ae
1 changed files with 2 additions and 2 deletions
  1. 2 2
      docs/sysutex/ex39.pp

+ 2 - 2
docs/sysutex/ex39.pp

@@ -8,8 +8,8 @@ Var F,D : Longint;
 
 Begin
   F:=FileCreate('test.dat');
-  D:=FileGetDate(D);
-  Writeln ('File crerated on ',DateTimeToStr(FileDateToDateTime(D)));
+  D:=FileGetDate(F);
+  Writeln ('File created on ',DateTimeToStr(FileDateToDateTime(D)));
   FileClose(F);
   DeleteFile('test.dat');
 End.