Browse Source

* universal FExpand

Tomas Hajny 24 years ago
parent
commit
cd6847e499
1 changed files with 14 additions and 3 deletions
  1. 14 3
      rtl/template/system.pp

+ 14 - 3
rtl/template/system.pp

@@ -249,11 +249,19 @@ begin
   InOutRes:=1;
   InOutRes:=1;
 end;
 end;
 
 
-procedure getdir(drivenr : byte;var dir : shortstring);
+function GetDirIO (DriveNr: byte; var Dir: ShortString): word;
+                                               [public, alias: 'FPC_GETDIRIO'];
 begin
 begin
-  InOutRes:=1;
+  GetDirIO:=1;
 end;
 end;
 
 
+procedure GetDir (DriveNr: byte; var Dir: ShortString);
+
+begin
+  InOutRes := GetDirIO (DriveNr, Dir);
+end;
+
+
 {*****************************************************************************
 {*****************************************************************************
                          SystemUnit Initialization
                          SystemUnit Initialization
 *****************************************************************************}
 *****************************************************************************}
@@ -274,7 +282,10 @@ Begin
 End.
 End.
 {
 {
   $Log$
   $Log$
-  Revision 1.2  2000-07-13 11:33:56  michael
+  Revision 1.3  2001-03-16 20:42:44  hajny
+    * universal FExpand
+
+  Revision 1.2  2000/07/13 11:33:56  michael
   + removed logs
   + removed logs
  
  
 }
 }