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>curdrv()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
   CURDRV()

       Purpose

   Returns the drive letter of the current drive.

       Parameters

   None.

       Return Value

   A one character string representing the current drive. Does not 
   append the colon to the drive designation.

       Comments

   Use CURDRV() to get the drive letter of the current drive. Combine 
   with CURDIR() to derive the system's current working directory.

Example

   .
   .
   .
                             && assuming current path is C:\TMP
   xdrive = CURDRV()         && returns C
   xpath = CURDIR( xdrive )  && returns TMP
   ? xdrive + ':\' + xpath   && prints C:\TMP
   .
   .
   .


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