●
You can call this function without indicating the specific element type, as follows:
●
For compound arrows, this function retrieves the chart only when all the arrow segments are in the same element. Otherwise, it returns the value 0.
To write the name of the chart in which stateS1
is found, the template would contain the following statements:VARIABLE
STATE state_id;
INTEGER status1, status2, status3;
.
.
state_id := stm_r_st (’S1’,status1);
WRITE (’\n Chart name is:’, stm_r_ch_name(
stm_r_st_chart(state_id,status2),status3);
.
.