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.



Michael Van Canneyt
Thu Sep 10 13:59:33 CEST 1998