On Friday 28 January 2005 08:52, Juergen Spitzmueller wrote: > > while in case (1) it is not necessary to clear the list (because it is > already empty) it is necessary in (2). That's the reason why I added the > check (to avoid redundant clearing in case 1, which is the more common > one).
That us premature optimization Jürgen. :-) It is easier to simply clear the list since the effect is the same, there is no need to consider the different cases. The code then becomes easier to understand by anyone. :-) > Jürgen -- José Abílio