Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- FAST TEXT SEARCH for Clipper v.2.0 - <b>remdir(<expc>)</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
   REMDIR(<expC>)

       Purpose

   Remove an existing subdirectory.

       Parameters

   <expC> is the path of the directory to remove.

       Return Value

   .T. if directory is destroyed, .F. if the operation fails.

       Comments

   REMDIR() allows you to destroy a directory on any drive, provided 
   the directory is empty and it is not the root directory of the drive. 
   Use REMDIR() in place of a RUN statement.

       Example

   .
   .
   .
   olddir = 'sample'
   if REMDIR( olddir )
       ? 'directory removed'
   else
       ? couldn't remove directory
   endif
   .
   .
   .

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