Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- CA-Clipper Tools . Books 1-3 - <b>dirname()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 DIRNAME()
 Determines the name of the current directory
------------------------------------------------------------------------------
 Syntax

     DIRNAME([<cDrive>]) --> cDirectory

 Argument

     <cDrive>  Designates the drive for which the current directory is
     determined (a colon is unnecessary).  The default is the current drive.

 Returns

     DIRNAME() returns the current directory name on the <cDrive>.

 Description

     DIRNAME() determines the current directory name on the selected drive.
     You can use this function to construct complete access paths.

 Notes

     .  The maximum length of the returned value is 65 characters.  If
        no drive designator is specified, the current drive is assumed.

     .  If there is an invalid drive designation, DIRNAME() returns a
        null string.

 Examples

     .  Display the current directory name:

        ? "Current Directory:  " + DIRNAME()

     .  With a drive designator:

        ? DIRNAME("A")               // Current directory on Drive A:


See Also: DIRCHANGE() DIRMAKE() DIRREMOVE()

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson