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>nbaddgroup()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 NBADDGROUP()
 Adds a NetBIOS group name to the local name table
------------------------------------------------------------------------------
 Syntax

     NBADDGROUP(<cName>) --> nNamesum

     Netware: 2.2 and 3.11

 Argument

     <cName>  Designates the group name that is added to the local name
     table.  The name can be up to 15 characters long and is case sensitive.

 Returns

     NBADDGROUP() returns the number that has been assigned to the group
     name.  If an error occurs (for example, if the name table is full), the
     function returns 0.

 Description

     NBADDGROUP() adds the group name <cName> to the local name table.  If
     the name has been added successfully, the name can be passed as the
     source name in the functions NBDOPEN(), NBSCALL(), or NBSLISTCON().  The
     workstation can receive datagrams addressed to the group <cName> or
     react to a connection request addressed to <cName>.

     A group name can be used on any number of workstations.  However, if
     <cName> is already used as the station name on a station, the call of
     NBADDGROUP() fails and the function returns 0.

 Example

     Add the group name ACCOUNT to the local name table:

     IF NBADDGROUP('ACCOUNT')>0
        ? 'Name has been added successfully!'
     ELSE
        ? 'Name could not be added!'
     ENDIF

See Also: NBADDNAME() NBDELNAME()

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