Single-Element Functions : List of Functions : stm_r_xx_chart

stm_r_xx_chart
Returns the chart ID for the specified element.
Note the following:

You can call this function without indicating the specific element type, as follows:

stm_r_chart (id, status)

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.

Function type
CHART
For elements
Syntax
stm_r_xx_chart (xx_id, status)
Arguments
Status Codes
Example
To write the name of the chart in which state S1 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);
.
.