Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
For each oControl loop - do we need to set oControl=.Nul
Message
 
 
À
16/03/2000 16:04:56
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00346661
Message ID:
00346681
Vues:
19
Erik,

>>Hi everybody,
>>
>>I'm just studying code for multiselgrd and I found, that Cetin uses this code:
>>
>>for each oControl in this.parent.controls
>>    some code
>>endfor
>>oControl=.null.
>>
>>
>>My question is: do we need to set oControl to .null. after finishing loop?
>
>No.

So, I have to remove this line of code from his code, right? Or it doesn't hurt anyway?
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform