Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
More on object refs keeping forms open
Message
De
12/11/1998 07:58:57
 
 
À
12/11/1998 00:43:22
Nancy Folsom
Pixel Dust Industries
Washington, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Divers
Thread ID:
00156863
Message ID:
00156906
Vues:
31
This is not related to object refs. In VFP, when a value is assigned to an array (used as simple var, not as array), all elements in the array are set to that value. Ex:

dimension a[100]
for i = 1 to 100
a[i] = i
endfor
*-- Here all elements in the array are different
a = 5
*-- Here all elements in the array are 5

Vlad

>We all know about setting our object references to NULL when a form is released. That is, the objects we assign to properties or create during the life of the form.
>
>I found out tonight that instead of setting each element of an array property containing object references to NULL, I needed to set the array property to NULL.
>
>Just for any who might be interested.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform