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>nbnamenum()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 NBNAMENUM()
 Determines the number of a NetBIOS name
------------------------------------------------------------------------------
 Syntax

     NBNAMENUM(<cName>) --> nNumber

     Netware: 2.2 and 3.11

 Argument

     <cName>  Designates the NetBIOS name for which the number is
     determined.

 Returns

     NBNAMENUM() returns the number of <cName>.  If an error occurs, the
     function returns -1.

 Description

     NetBIOS assigns a number to each new station or group name.  The name's
     number can be determined with NBNAMENUM().  If an error occurs (for
     example, if the name does not exist), the function returns -1.

 Example

     Determine the number for the NetBIOS name ACCOUNT:

     nNumber=NBNAMENUM('ACCOUNT')
     IF nNumber <> -1
        ? 'Number for ACCOUNT:',nNumber
     ELSE
        ? 'Name does not exist!'
     ENDIF

See Also: NBADDGROUP() NBADDNAME()

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