Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Dealing with dangling reference
Message
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9 SP1
Miscellaneous
Thread ID:
01539074
Message ID:
01539321
Views:
63
>>You should never try to remove an object from collection while iterating through collection.
>
>I said I missed the FOR EACH use, but you said that testing for the TYPE of the property would NOT prevent the error that was originally asked about and that is simply NOT true. If you would like to engage in a discussion please first be sure you know what you are talking about.

I know what I am talking about and I said that using FOR EACH loop and removing objects from the collection will not work. I originally suggested to use name for checking the variable, so please read the whole thread before making any assumptions.
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform