stm_r_xx_of_enum_type Retrieves the enumerated type ID (a user-defined type) for the specified element. You can call this function without indicating the specific element type, as follows: stm_r_of_enum_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_of_enum_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_of_enum_type
stm_r_of_enum_type (id, status)
DATA_TYPE
xx_id
status
INTEGER
stm_success
stm_id_out_of_range
stm_id_not_found
stm_missing_of_enum_type