Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Pass array as a parameter
Message
From
16/11/2004 15:03:13
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00961882
Message ID:
00961885
Views:
7
>I have a form that will call another form and pass an array as a parameter. I am prefixing the @ to pass the whole array. However I cannot get the form to compile. I get the error “Command contains unrecognized phrase/keyword”
>
>This command causes the error
>DO FORM OrderSelect WITH -1, @laOrderIDs
>
>This compiles, but only passes the first element’s value
>DO FORM OrderSelect WITH -1, laOrderIDs
>
>How do I get the form to compile and pass the whole array?

I believe if you're sending a parameter by reference, it can only be done with a function cal as in =MyFunction(param1, @param2).
Work as if you don't need money
Love as if you've never been hurt before
Live as if this is your last day to live
Dance as if no one's watching
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform