[lazarus] File Path

Baeseman, Cliff Cliff.Baeseman at greenheck.com
Wed May 26 10:15:45 EDT 1999


cool I need this for compiler settings.
Have to do a ifdef to run under winblows also.




Cliff

-----Original Message-----
From: Michael A. Hess [mailto:mhess at miraclec.com]
Sent: Wednesday, May 26, 1999 8:05 AM
To: lazarus at miraclec.com
Subject: Re: [lazarus] OT: CGI for apache with free pascal


Cliff Baeseman wrote:
> 
>  Do you have anything laying around that can strip a file name from a
> path.?

Dos unit

   FSplit - Splits up the path into path, filename, extension.

Linux unit

   Basename - Gives you the filename stripping off the suffix
   DirName - Gives you the path name stripping off the filename.

Be sure to read the documentation for exactly how to use these.   :-)

-- 
==== Programming my first best destiny! ====

Michael A. Hess      Miracle Concepts, Inc.
mhess at miraclec.com   http://www.miraclec.com

_________________________________________________________________
     To unsubscribe: mail lazarus-request at miraclec.com with
                "unsubscribe" as the Subject
    archives at http://www.miraclec.com/list_archives/lazarus






More information about the Lazarus mailing list