next up previous contents index
Next: FLock Up: Functions and procedures Previous: fdWrite

FExpand

   

Declaration:

Function FExpand (Const Path: Pathstr) : pathstr;

Description:

Expands Path to a full path, starting from root, eliminating directory references such as . and .. from the result.

Errors:

None

See also:

BaseName,DirName

Example
Program Example45;

{ Program to demonstrate the FExpand function. }

Uses linux;

begin
  Writeln ('This program is in : ',FExpand(Paramstr(0)));
end.



root
Fri Sep 11 18:24:36 CEST 1998