Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Collection class clarification
Message
De
06/05/2003 14:16:40
 
 
À
06/05/2003 14:04:56
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00785502
Message ID:
00785507
Vues:
27
Hi Ramil,

loForm1 = CREATEOBJECT("form") && form1RefCount =1
loCol = CREATEOBJECT("collection")
loCol.Add(CREATEOBJECT("form"),'1') && form2RefCount =1

loCol.Add(loForm1,'2')&& form1RefCount =2

* path1
? loCol.Remove('2') && form1RefCount = 1

* path2
loForm1 = NULL && form1RefCount = 1
? loCol.Remove('2') && form1RefCount = 0 then VFP release object

Fabio
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform