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: stm_r_of_enum_type (id, &status) Function Type stm_id 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 stm_id The element ID. status Out int 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-item
di
field
fd
local data
ld
subroutine
parameter
sp
user-defined
type
dt
xx_id
stm_id
status
int
stm_success
stm_id_out_of_range
stm_id_not_found
stm_missing_of_enum_type