Use this function to sort delete all elemts of a list.
%List.Clear(ListName)
Thereby the parameter ListName is the name of a previously defined list.

Example:
%List.Clear(MyList)