Single-Element Functions : List of Functions : stm_r_ch_creator

stm_r_ch_creator
Returns the name of the Statemate user who created the specified chart. This function is relevant only for charts that were explicitly created using one of the graphic editors.
Function type
STRING
For elements
Syntax
stm_r_ch_creator (ch_id, status)
Arguments
Status Codes
Example
To retrieve the name of the user who created the chart, use the following statements:

VARIABLE
CHART chart_id;
INTEGER status;
.
.
.
chart_id := stm_r_ch (’TOP’, status);
WRITE (’\n Chart created by:’,
stm_r_ch_creator (chart_id, status));
.
.
.

The name written to the document is the name of the user who created the chart named TOP.