Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- GT_LIB v1.0 Reference Guide Release 1.0 - <b>remove a directory.</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 Remove a directory.
------------------------------------------------------------------------------

 Syntax

        GT_RmDir(<cDir>,[@<nError>]) --> lRemoved

 Arguments:

      <cDir> is the path of the directory.

      <nError> is an optional parameter that must be passed by reference.
      If the directory can't be removed the DOS error code will be placed
      in this variable.

 Returns:

      If the directory was removed , GT_RmDir() returns true (.T.), if
      not it returns false (.F.).

 Description:

      GT_RmDir() can be used to remove a directory.

 Examples:

      // Remove a directory.

      nError := 0
      if !GT_RmDir("Knight",@nError)
         ? "Error =",nError
      endif

 Source: RMDIR.C

 Author:  Dave Pearson

See Also: GT_MKDIR() GT_CHDIR()

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