Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Arrays of objects - releasing one element
Message
From
01/05/2002 12:04:04
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
 
To
30/04/2002 17:54:59
General information
Forum:
Visual FoxPro
Category:
Object Oriented Programming
Miscellaneous
Thread ID:
00651134
Message ID:
00651385
Views:
19
>Hi
>
>I have a two dimensional array in which I store an identifier and an object (user object). The array is not static in that as users connect and disconnect they are added and deleted from the array (ADEL() and then DIMENSION the array again - possibly not necessary).
>
>Anyway my question is how do I release the object in the second column of my array. I know that the array gets reset but am I leaving my objects dangling???
>
>Also, is it possible to save an object to disk and reload it automatically without having to do heaps of fancy coding to determine the contents of the object???
>
>Regards
>Geoff Scott

Some ideas on arrays of objects in my FAQ #8110. Several programmers don't like option #1 (the original posting), but I have found that it is simple to use and does work in practice.

HTH, Hilmar.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Previous
Reply
Map
View

Click here to load this message in the networking platform