Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Another Collection class question
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00785535
Message ID:
00785615
Views:
11
>Where does the clearing of items in a collection occur? See code sample:
>
>oCol=createobject('clsCollection')
>oCol.Add(createobject('form'))
>?oCol.Count && 1
>
>define class clsCollection as collection
>   procedure destroy
>      ? this.count && 0!!!
>   endproc
>enddefine
>
When I run that code in VFP8, the Destroy method prints out 1, rather than 0, as you seem to indicate above.
My blog
My consulting page
My home page

Member of the Trim Your Auto-Quote Campaign!
What's another word for thesaurus?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform