Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How do I pass class.properties to class.methods by Reference
Message
 
To
All
General information
Forum:
Visual FoxPro
Category:
Other
Title:
How do I pass class.properties to class.methods by Reference
Miscellaneous
Thread ID:
00107559
Message ID:
00107559
Views:
58
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
Next
Reply
Map
View

Click here to load this message in the networking platform