[Overview][Constants][Types][Classes][Procedures and functions][Variables] | Reference for unit 'Classes' (#fcl)

# TList.Clear

Clears the pointer list.

## Declaration

`public procedure TList.Clear; dynamic;`

## Description

Clear removes all pointers from the list, and sets the capacity to 0, thus freeing any memory allocated to maintain the list.

## See also

TList.Destroy |  | Destroys the list and releases the memory used to store the list elements.