ListRemoveAll |
Top Previous Next |
Syntax ListRemoveAll(list as POINTER,OPT bDelete=0 as INT) Description Removes all nodes from the list and deletes the list. Parameters list - The linked list returned by ListCreate bDelete - Optional. If 1 then DELETE is called for all data pointers in the list. Return value None Remarks The list pointer is invalid when this function completes and cannot be used again unless ListCreate is called to create a new list. See Also: ListRemove, ListCreate Example usage ListRemoveAll(mylist,TRUE) |