In reference to freeing all the TChunks in TDictionary<string, TChunk>, how do I do it?
I don't see a way to just do
as it is not sorted or indexable in that wayCode:for I = 0 to count-1 do TDict.Items[0].Free
Do I need to extract all the keys and then iterate with that list? That hardly seems like a smart way to do it.
OK this works
Code:for Chunk in TDict.Values do Chunk.Free
Bookmarks