Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Passing a property by reference?
Message
 
À
12/03/1999 17:27:14
Jonathan Cochran
Alion Science and Technology
Maryland, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00196859
Message ID:
00197042
Vues:
57
>So, modifying oForm.propertyX in the program will actually modify propertyX, but if you pass oForm.propertyX itself to a program and modify the parameter, propertyX isn't actually modified, just the parameter variable. I wonder if this is by design?

Jonathan,

Yes it is by design as the property belongs to the object and should not be manipulated without accessing the object.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform