Hi,
I have a collection that storing reference of empty objects. I want to remove those item which its cType = 'keyword'.
I tried this code, but it doesn't work correctly. It only remove some matched item but not all.
FOR EACH loItem IN myCollection
IF loItem.cType = 'keyword'
myCollection.Remove(loItem.cKey)
ENDIF
NEXT
Currently, I use array to store all matched item key in FOR EACH loop, then only remove them one by one.
Any other way to do this?
Thank you
I am not the most powerful man in this world.
I am not the worst man in this world either.
I just as same as all of you.
I still need to learn from my mistakes...