Stage 1
Pass the element name or synonym as a function argument to get the element ID. The function calling sequence is as follows:
● stm_r_—Designates the function as a Rational Statemate database retrieval function.
● xx—The two-character element type abbreviation.
● name—The name of the element for which information is requested. The input argument name contains the name (path name) or synonym that uniquely identifies the element of interest. The name can be a variable or a literal string (enclosed by single apostrophe marks).
●This function call returns the ID for state S1. The value returned by the function is a
Rational Statemate element of the type specified by xx. In this example, the value returned by
the function is of type STATE.