Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Novlib 3.30 Online Reference - <b> objtypget()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 ObjTypGet()
------------------------------------------------------------------------------
 Purpose:
 Get the type of an object.

 Syntax:
 wObjectType = ObjTypGet( dwObjectID )

 Parameters:
 dwObjectID The object ID number.

 Returns:
 A numeric value.

 Description:
 ObjTypGet() returns the object type of a specified object ID number.

 Returns NOVERRINT if an error occurs, e.g. object does not exist. See the
 reference in Chapter 3, Bindery Functions for more information on valid
 bindery object types.

 Example:
 // To display the object type of the current file server:
 dwCurrID = ObjIDGet( FSNmeGet() )
 if ( NWErrorGet() = 0 )
    wCurrType = ObjTypGet( dwCurrID )
    if ( NWErrorGet() = 0 )
       ? "The file server", FSNmeGet(), "has object type", wCurrType
    endif
 endif

See Also: ObjIDGet() ObjNmeGet() ObjGetFlg() ObjSecGet() FSObjLst()

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