stm_r_xx_max_val Returns the maximum value of the specified element. You can call this function without indicating the specific element type: stm_r_max_val (id, status) Function type STRING For elements data-item di field fd local data ld subroutine parameter sp user-defined type dt Syntax stm_r_xx_max_val (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_not_found ● stm_id_out_of_range
stm_r_max_val (id, status)
STRING
xx_id
Statemate element
status
INTEGER
stm_success
stm_id_not_found
stm_id_out_of_range