Creation Functions : stmCreateSubroutine

stmCreateSubroutine

Creates a subroutine.
Syntax
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)
Return Type
status_code
See Function Status Codes for the list of possible values.
Arguments
 
Input/Output
stm_sb_function/
stm_sd_procedure/
stm_sb_task
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
stm_sb_kr_c_code/
stm_sb_truth_table/
stm_sb_ada_code/
stm_sb_action_lang/
and so forth.