Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Dealing with dangling reference
Message
De
25/03/2012 11:02:15
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9 SP1
Divers
Thread ID:
01539074
Message ID:
01539321
Vues:
62
>>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform