Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How do I pass class.properties to class.methods by Reference
Message
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
How do I pass class.properties to class.methods by Reference
Divers
Thread ID:
00107559
Message ID:
00107559
Vues:
59
Does anybody know how to pass a class.property to a method in the same class (by Reference)?

Have tried the following with no success:

Approach #1:
------------

THIS.Method( @THIS.Property1, @THIS.Property2 )

Approach #2:
------------
m.lcOldUDFParm = SET("UDFPARM")
SET UDFPARM BY REFERENCE
THIS.Method( THIS.Property1, THIS.Property2 )
SET UDFPARM &lcOldUDFParm

Thank you
Juan L. Romero
gcandela@javanet.com
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform