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

 Syntax:
 wPropFlag = PrpFlagGet( lpszObjectName, wObjectType, lpszPropertyName )

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

 Returns:
 A numeric value (signed short int).

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

 Description:
 PrpFlagGet() returns the type flags of the given property
 lpszPropertyName of the specified bindery object lpszObjectName, of type
 wObjectType.

 There are two types of flags associated with properties. Bit 0 is the
 static/dynamic indicator and bit 3 is the item/set indicator, so the
 possible return values can be:

    0    Static Item
    1    Dynamic Item
    3    Static Set
    4    Dynamic Set

 For more information on what these flags mean, see PROPERTY FLAGS in the
 reference in Chapter 3, Bindery Functions.
 Returns NOVERRINT if an error occurs.

 Example:
 // To return the flags of user KATIE's IDENTIFICATION property:
 iCurrFlags = PrpFlagGet( "KATIE", OT_USER, "IDENTIFICATION" )
 if ( NWErrorGet() = 0 )
    ? "User KATIE's IDENTIFICATION property has a flag value of "
    ?? iCurrFlags
 endif

See Also: ObjPropertyTest() PrpValueTest() ObjPropertyList() PrpSecurityGet()

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