ListAdd |
Top Previous Next |
Syntax POINTER = ListAdd(list as POINTER,pData as POINTER) Description Adds a new node to a linked list Parameters list - A list created by the ListCreate function. pData- Any pointer to data to use as the data member of the new node. Return value For convenience this function returns the pData pointer. Remarks Node is added to the tail of the list. Use ListAddHead to add a new node to the head of the list. See Also: ListCreate, ListAddHead Example usage mylist = ListCreate() |