[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 FN_GSPFDL()
 Get the search order of a drive letter
------------------------------------------------------------------------------
 Syntax
 
       Fn_GSOFDL( <cPathVar>,<cDrvLtr> ) -> nSearchOrder
 
 Arguments

      <cPathVar> - The path string to search.

      <cDrvLtr>  - The drive letter to search for.

 Returns

     <nSearchOrder> - The current search order for <cDrvLtr> in
                      <cPathVar>.

 Description

      This function searches the specified path variable for
      the specified drive letter and returns the search order
      of that drive letter.  If the drive is not in the path
      <nSearchOrder> will be 0.

 Examples
      If ( Fn_GSOFDL( GetEnv( "PATH" ),"Y" ) == 0 )
          ? "Drive Y: isn't in the search path.  Good to know, eh?"
      EndIf

 Source: N:\SRC\FSYS\GSOFDL.PRG

 Author: Sheldon Easterbrook

See Also: Fn_GDLFSO()
This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson