private Ndx as Int
private Element as MyCustomClass
'Traverse the loop backwards so items are deleted from the end of the List
for Ndx=ThisList.Size-1 to 0 step -1
Element= ThisList.Get(Ndx)
if (Element.IsInitialized=False) or (Element.isFineThankYou=False) then
ThisList.RemoveAt(Ndx)
Else
Element.Enjoy
end if
next