dbCreateProp
dbCreateProp(g_objectt_namet_propTypeg_value) =>d_prop/ nil
Description
Creates a scalar property for an object. If a property named t_name already exists on the specified object, it returns nil.
Arguments
|
Specifies an object the property is to be associated with. The object can be a dbId, ddId, or dbBagId. |
|
Value Returned
|
A property named t_name already exists on the specified object or an error occurs. |
Examples
dbCreateProp(cv "prop1" "boolean" t)
dbCreateProp(cv "DBUperUU" "float" 1.0)
Related Topics
Property Creation and Modification Functions
Return to top