Utility Functions : List of Utility Functions : stm_list_add_ptr_element

stm_list_add_ptr_element
Adds a new element to a list of element pointers.
Function Type
stm_list
Syntax
stm_list_add_ptr_element (list, element, &status)
Arguments
Input/Output
Status Codes
Example
To add a new elemen,t use the following statement (the element id has been assigned to st_id and the element name has been assigned to st_name):

stm_id st_id;stm_element_name st_name;stm_list st_list;
int status;..st_name = stm_r_st_name(st_id, &status);
st_list = stm_list_add_ptr_element (st_list, st_name, &status);
.
.