Creates a list of items. The number of arguments varies according to the number of elements to be included in the list. The list is terminated by the predefined constantend_of_ptr_list
.
Input/Output To create a list that contains the names of the activity namedA2
and the stateS8,
create the list using the following statements:stm_id ac_id, st_id;
int status;
stm_element_name ac_name,st_name
stm_list list;
.
.
ac_name = stm_r_ac_name ("ac_id", &status);
st_name = stm_r_st_name ("st_id", &status);
list = stm_list_create_ptr_list (st_name, ac_name, end_of_ptr_list, &status);
.
.