Creation Functions : stmCreateUserType

stmCreateUserType

Create a user defined type.
Syntax
stmCreateUserType (stm_context, chart_name, UserType_name, structure, data_type, array_lindex, array_rindex, definition, user_type_name, short_description, long_description)
Return Type
status_code
See Function Status Codes for the list of possible values.
Arguments
 
Input/Output
STM context descriptor that was returned by stmInitImport
Left index of array. May be either a numeric constant or a dataitem name. NULL for non array type.
Right index of array. May be either a numeric constant or a dataitem name. NULL for non array type.
Note: If you are using an enumerated value for your array indices, you should define the enumerated index in full-quote notation form. For example, defining COLOR’ RED as the left index of an array sets the value RED in the of enum field of the element’s Data Dictionary form.