dbReplaceRangeProp
dbReplaceRangeProp(g_objectt_namet_propTypeg_valueg_lBoundg_uBound) =>d_prop/ nil
Description
Replaces a range property for an object.
This function is similar to dbCreateRangeProp except that if a property named t_name already exists on the specified object, it is replaced by the one specified as t_propType, g_value, g_lBound, and g_uBound.
Arguments
|
Value of the property. g_value, g_lBound, and g_uBound must be consistent with t_propType. |
|
Value Returned
|
The value is not in the given range or if d_object is not a hierarchical property. |
Examples
dbReplaceRangeProp(dbId "prop" "float" 120.0 0 nil)
dbReplaceRangeProp(dbId "prop" "int" 5 3 12)dbReplaceRangeProp
Related Topics
Property Creation and Modification Functions
Return to top