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> objtypeget()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 ObjTypeGet()
------------------------------------------------------------------------------
 Purpose:
 Get the type of an object.

 Syntax:
 wObjectType = ObjTypeGet( dwObjectID )

 Parameters:
 dwObjectID The object ID number.

 Returns:
 A numeric value.

 The CA-Clipper name for this function is:
 ObjTypGet()

 Description:
 ObjTypeGet() 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( FSNameGet() )
 if ( NWErrorGet() = 0 )
    wCurrType = ObjTypeGet( dwCurrID )
    if ( NWErrorGet() = 0 )
       ? "The file server", FSNameGet(), "has object type", wCurrType
    endif
 endif

See Also: ObjIDGet() ObjNameGet() ObjFlagGet() ObjSecurityGet() FSObjectList()

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