Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
BUGS: collection it can be behaved in unforeseeable way
Message
 
 
To
27/05/2005 19:00:49
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Environment versions
Visual FoxPro:
VFP 9
Miscellaneous
Thread ID:
01018216
Message ID:
01018313
Views:
8
>>>>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--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform