Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Returning object or arrays from within functions, method
Message
From
01/10/1996 00:29:49
 
 
To
30/09/1996 02:35:06
John Baird
Coatesville, Pennsylvania, United States
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00008798
Message ID:
00008933
Views:
27
>> >Does anyone know how to return an array or an object reference from
>within a method or function or procedure?
>>
>> You can't return an array.
>>
>> Vlad
>
>But you can pass the array to the function by reference, change the array
>values in the function, and return to the calling program. In essence, you
>are returning the array from the function.
>
>.

As I already told to Tom: You're right, but not using RETURN command. My answer was connected only to the example code in the original message and it was not complete.

Vlad
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform