Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Passing an array
Message
 
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00817341
Message ID:
00817365
Views:
19
Roy,

All patameters are passed by reference when you use DO command. When you call function/method parameters are passed by value (default). You've to prefix variable with '@' to pass it by reference.

>Sorry, temporary insanity.
>
>Do form with laArray
>
>I was trying "do form with @laArray" which gives an error but when calling methods it works ie oObject.GetCustomers(@laCompany)
--sb--
Previous
Reply
Map
View

Click here to load this message in the networking platform