Creates a list of items using their IDs. 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_id_list
.
Input/Output To create a list that contains the activity namedA2
and the stateS8
, retrieve their IDs from the database and create the list using the following statements:stm_id ac_id, st_id;
int status;
stm_list list;
.
.
ac_id = stm_r_ac ("A2", &status);
st_id = stm_r_st ("S8", &status);
list = stm_list_create_ids_list (st_id, ac_id, end_of_id_list,
&status);
.
.