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_list_ptr_elm st_name;
int status;
.
.
if (stm_list_contains_ptr_element (elmnt_list,
(stm_list_elm)st_name, &status))
.
.
IfA1
appears inelmnt_list
, the statements following theif
statement are executed. Note that the name ofA1
(and not its ID) is passed to the function.