stmCreateSubroutine
stmCreateSubroutine (STMContextHandle, chart_name, sbr_name, sbr_type, sbr_ret_type, ret_usr_type_name, sbr_impl_type, params_num, stm_sb_params, stm_sb_global, short_description, long_description)See Function Status Codes for the list of possible values.
Input/Output Argument Type STM context descriptor that was returned by stmInitImport stm_sb_definition_type stm_sb_return_type stm_sb_missing/
stm_sb_integer/
stm_sb_real/
stm_sb_string/
stm_sb_bit/
stm_sb_bit_array/
stm_sb_condition/
stm_sb_user_type stm_sb_select_implementation Array of stm_sb_param, one for every parameter Array of stm_sb_param, one for every parameter