Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Harbour Version 0.37 (c) reference Guid - Norton Guide http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]

CURDIR()

Returns the current OS directory name.
---------------------------------------------------------------------------------

 Syntax

        CURDIR( [<cDrive>] )  --> cPath  

 Arguments

        <cDir>   OS drive letter    

 Returns

        <cPath>   Name of directory    

 Description

      This function yields the name of the current OS directory on a
      specified drive.If <cDrive> is not speficied,the currently logged
      drive will be used.

      This function should not return the leading and trailing
      (back)slashes.

      If an error has been detected by the function,or the current OS
      directory is the root,the value of the function will be a NULL
      byte.

 Examples

      ? Curdir()
      

Status

      Ready

 Compliance

      This function is Ca-Clipper Compatible

 Platforms

      ALL

 Files

      Library is Rtl



See Also: FILE()

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