Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
BUGS: collection it can be behaved in unforeseeable way
Message
 
 
À
27/05/2005 19:00:49
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Versions des environnements
Visual FoxPro:
VFP 9
Divers
Thread ID:
01018216
Message ID:
01018313
Vues:
9
>>>>Try to execute them on the separate lines
? myCollection.Remove(-1)
>>>>? myCollection.Count
>>>>
>>>
>>>Of course,
>>>as it must be, the result is the same one,
>>>the collection is not emptied completely.
>>
>>It's not always the case when dealing with bugs.
>
>This is true, Only that I had tried that code before opening the thread.
>
>The point is that every method of the Collection class is not reliable.
>
>Ill-fatedly it is difficult replay with a short code,
>and without a code to analyze I doubt that the VFPT can arrange it.

What do you store in the collection when it happens? Some kind of complex object with references to other objects? Maybe FoxPro cannor release those objects from collection because of some dangling references or similar?
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform