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 13:35:50
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Versions des environnements
Visual FoxPro:
VFP 9
Divers
Thread ID:
01018216
Message ID:
01018297
Vues:
10
Try to execute them on the separate lines
? myCollection.Remove(-1)
? myCollection.Count 
>Within a very Complex program, i have this Collection bugs,
>they happen with a pseudo random frequency,
>but if the program do the same cycle,
>the occurrences are deterministic.
>
>
>myCollection.GetKey() return .T.
>myCollection.Item(existskey) return .T.
>myCollection(existskey) return .T.
>? myCollection.Remove(-1),myCollection.Count && output is .T.,104 ( or others not zero values )
>
>
>I have found a workaround:
>
>retry the operation another time
>
>but i'm not sure that this is a sure workaround.
>
>Result: Collection is not usable.
>
>I try to reduce the application for a simple repro code;
>a simple random test is not sufficient for a reproduction of the bugs.
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform