stm_r_xx_user_type Returns the user-defined type ID referenced by the element. You can call this function without indicating the specific element type, as follows: stm_r_user_type (id, status) Function type: DATA_TYPE For elements data-item di field fd local data ld subroutine parameter sp user-defined type dt Syntax stm_r_xx_user_type (xx_id, status) Arguments Argument Input/Output Type Description xx_id In Statemate element The element ID status Out INTEGER The function status code Status Codes ● stm_success ● stm_id_out_of_range ● stm_id_not_found ● stm_missing_user_type
stm_r_user_type (id, status)
Function type: DATA_TYPE
DATA_TYPE
For elements
xx_id
status
INTEGER
stm_success
stm_id_out_of_range
stm_id_not_found
stm_missing_user_type