ListAddHead |
Top Previous Next |
Syntax POINTER = ListAddHead(list as POINTER,pData as POINTER) Description Adds a new node to a linked list. Node is added to the head of the 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 See Also: ListCreate, ListAdd Example usage mylist = ListCreate() |