Utility Functions : Calling Utility Functions : List Extraction by Chart

List Extraction by Chart

The list_extraction_by_chart function extracts the Statemate elements in the input list that are of a particular chart.

The syntax is as follows:

stm_list_extraction_by_chart (chart_name, list, status)

In this syntax:

stm_list—Designates the function as a Statemate list manipulation function.
extraction_by_chart—Signifies that this function extracts all Statemate elements defined in a specific chart from the input list.
chart_name—Is a string that represents the chart name.
list—Is the list in which to search for elements of the specified chart. list can contain a variety of Statemate elements.
status—Is the return function status code.

For example:

stm_list_extraction_by_chart (’my_chart’, elmnt_list, status);

This call extracts all elements from the list that defined in (or unresolved in) the chart my_chart.