General information
Category:
Coding, syntax & commands
>>>>>What is the syntax for passing a two dimentional array to a function? When my function receives the array it is not an array, just a character type. How do I pass an array?
>>>
>>>>=MyFunc(@MyArray)
>>>
>>>I tried that. But myarray is really thisformset.myarray and the function call does not like (@thisformset.myarray).
>>>
>>>Brenda
>>
>>Then you have to ACOPY(thisformset.myarray, MyArray) first
>
>dagnabit - always hitting send too soon...
>
>Or you can pass an object reference to the formset itself
>MyFunc(thisformset)
Trey:
Could you educate me a bit on this? You say to "pass an object reference" into the function. Is this truely passed by reference in that changes made to the parameter are reflected back the same way changes made to an array passed by reference are passed back???
Thanks........Rich
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only