Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- CA-Clipper Tools . Book 4-Appendices - <b>nnetsearch()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 NNETSEARCH()
 Determines the index of a search drive in the path variable
------------------------------------------------------------------------------
 Syntax

     NNETSEARCH([<cDrive>]) --> nSearchDrive

     Netware: 2.2 and 3.11

 Argument

     <cDrive>  Designates the drive (A to Z) for which the index in the
     path variable is determined.  Without this parameter, the function uses
     the default drive.

 Returns

     NNETSEARCH() returns a numeric value that indicates the position of
     <cDrive> in the form "<cDrive>:.", in the path variable.  The return
     value is between 0 and 16.  If <cDrive> is not a search drive, the
     function returns 0.

 Description

     NOVELL NET SEARCH
     NNETSEARCH() determines if the specified drive is a search drive and
     returns the drive's position in the path environment variable.
     NNETSEARCH() assumes that the path variable contains search drives in
     the form "X:.", where "X" can be any drive designator from "A" to "Z".
     If <cDrive> is not a search drive, NNETSEARCH() returns 0.

 Example

     Determine the search drive position for drive Z:

     ? NNETSEARCH('Z')                     // Returns: 13

See Also: NNETMAP() NNETMAPINF() NNETMAPMOD()

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