Single-Element Functions : List of Functions : stm_r_ch_modification_date

stm_r_ch_modification_date
Returns the date in which the version of the chart in the workarea was saved in the databank. This function is relevant only for charts that were explicitly defined using one of the graphics editors.
Function type
STRING
For elements
Syntax
stm_r_ch_modification_date (ch_id, status)
Arguments
Status Codes
Example
To retrieve the date of the last modification for a chart, use the following statements:

VARIABLE
CHART chart_id;
INTEGER status;
.
.
.
chart_id := stm_r_ch (’TOP’, status);
WRITE (’\n Chart modified on:’,
stm_r_ch_modification_date (chart_id, status));
.
.
.

The template writes to the document the date on which the chart named TOP was last modified.