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> objpropertytest()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 ObjPropertyTest()
------------------------------------------------------------------------------
 Purpose:
 Verify an object has properties.

 Syntax:
 bResult = ObjPropertyTest(lpszObjectName, wObjectType)

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

 Returns:
 A boolean value (TRUE or FALSE).

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

 Description:
 ObjPropertyTest() tests to see if the object specified by name
 lpszObjectName and type wObjectType has any associated properties.

 Returns TRUE if the object has properties and FALSE if not, or if an error
 occurs.

 Example:
 // To test whether object KATIE of type USER has any properties:
 if ( ObjPropertyTest( "KATIE", OT_USER ) )
    ? "Object KATIE of type 1 ( USER ) has properties"
 endif

 Notes:
 Most objects have properties. For more information on properties,
 see the reference in Chapter 3, Bindery Functions. If FALSE is returned,
 check NWErrorGet().

See Also: ObjPropertyList() ObjTypeGet() ObjFlagGet() ObjSecurityGet() PrpValueTest()

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