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]

DIRCHANGE()

Changes the directory
---------------------------------------------------------------------------------

 Syntax

        DIRCHANGE( <cDirectory> ) --> nError  

 Arguments

        <cDirectory>    The name of the directory you want do change 
                  into.

 Returns

        <nError>   0 if directory was successfully changed, otherwise 
                  the number of the last error.

 Description

      This function attempt to change the current directory to the one
      specidied in <cDirectory>.If this function fail, the it will return
      the last OS error code number.See FERROR() function for the
      description of the error.

 Examples

      if (DIRCHANGE("\temp")==0)
          ? "Change to diretory was successfull"
      endif

 Tests

      See examples

Status

      Ready

 Compliance

      This function is CA Clipper 5.3 compliant

 Platforms

      All

 Files

      Library is rtl



See Also: MAKEDIR() DIRREMOVE() ISDISK() DISKCHANGE() DISKNAME() FERROR()

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