Input/Output To check a list of Rational Statemate elements for the presence of activityA1
and assign the elements to the listelmnt_list
, use the following statement:stm_list elmnt_list;
stm_id st_id;
int status;
.
.
if (stm_list_contains_id_element (elmnt_list,
(stm_list_id_elm)st_id, &status))
.
.
IfA1
appears inelmnt_list
, the statements following theif
statement are executed. Note that the ID ofA1
(and not its name) is passed to the function.