Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to pass a reference to an array member of an object?
Message
 
General information
Forum:
Visual FoxPro
Category:
Object Oriented Programming
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01298464
Message ID:
01298480
Views:
15
>Jim,
>
>Thanks for your suggestion.
>
>As the function is currently defined, it expects a reference to an array for its parameter. So, I opted for the solution to copy the array locally, and then call the function with a reference to the local array.
>
>Seems to me that C++ is a lot cleaner in situations like this.
>
>(Will that begin, or restart, the debate about which language is more object oriented??)
>
>Jim

C++ is definitely more OOP, there are no questions about it.
If it's not broken, fix it until it is.


My Blog
Previous
Reply
Map
View

Click here to load this message in the networking platform