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

 Syntax:
 dwObjectID = ObjIDGet( lpszObjectName, wObjectType )

 Parameters:
 lpszObjectName The object name.
 wObjectType    The object type.

 Returns:
 A numeric value (unsigned long int).

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

 Description:
 ObjIDGet() returns the object ID number of the object specified by
 lpszObjectName and wObjectType.

 Returns NOVERRLONG if an error occurs. For more information on object IDs
 see the reference in Chapter 3, Bindery Functions.

 Example:
 // To display the object ID number of user JANE:
 dwCurrID = ObjIDGet( "JANE", OT_USER )
 if ( NWErrorGet() = 0 )
    ? "User JANE has object ID", dwCurrID
 endif

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

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