All Things Ubuntu Library Wiki
Ubuntu dedicated Object Pascal libraries
Brought to you by:
krisjacewicz
Use this routine to conveniently clear lists of obects. You can choose whether or not objects on the list should be freed upon deleteion. This procedure catches any exception and continues even if any exception occurs without raising it.
Procedure ClearList(const AList: TList; const AFreeObjects: Boolean);