Admin Production ni-theme
Current Publication

ListClear

LabWindows/CVI

ListClear

void ListClear (ListType listToClear);

Purpose

This function removes every item from a list.

The memory used by the removed items is saved to be reused when new items are inserted in the list (see ListCompact).

Parameters

Input
Name Type Description
listToClear ListType The list to clear all of the items from.

Return Value

None.

Additional Information

Library: Programmer's Toolbox

Include file: toolbox\toolbox.h

LabWindows/CVI compatibility: LabWindows/CVI 4.0 and later

Example

Refer to userint\custctrl\pathctrl\simple.cws for an example of using the ListClear function.