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

     NBNAMECNT([<cStatName>]) --> nNames

     Netware: 2.2 and 3.11

 Argument

     <cStatName>  Designates the station name of the workstation from
     which the name table is read.  The default value is the local
     workstation.

 Returns

     NBNAMECNT() returns the number of established NetBIOS names on the
     station <cStatName>.  If an error occurs (for example, if <cStatName>
     has not been found), the function returns -1.

 Description

     Internally, each NetBIOS workstation keeps a local name table with up to
     20 NetBIOS names.  NBNAMECNT() allows you to determine the number of
     names in the table.  The number of names can be determined for the local
     workstation or for any workstation in the network, if you pass a NetBIOS
     station name <cStatName>.

 Examples

     .  Determine the number of NetBIOS names on the local
        workstation:

        ? NBNAMECNT()

     .  Determine the number of NetBIOS names on workstation MIKE:

        ? NBNAMECNT("MIKE")

See Also: NBNAME() NBNAMESTAT()

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