Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Clipper Tools One Guide - <b>dirname()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
DIRNAME()

Syntax:     DIRNAME(<expC>)

Arguments:  <expC> denotes the drive from which to read the current
            directory name.

Returns:    A numeric value.
            The name of th actual directory on the drive specified with
            <expC>.

Usage:      This function can be used to establish the name of the
            actual directory on the drive selected.  It can also be used to
            construct complete access paths.

Notes:      The maximum length of the return value is limited to 65
            characters.  The current drive will be assumed if no drive
            designator is specified.

            DIRNAME() will return a null string in the event of an invalid
            drive designator.

Library:    CT1.LIB


--------------------------------- Example ------------------------------

Examples:   * Display the name of the current directory.
            ? "Current directory: "+DIRNAME()



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

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