Mike Yearwood
Toronto, Ontario, Canada
General information
Category:
Coding, syntax & commands
><snip>
>>The PRG calls a UDF, passing the array like this.
>>
>>DO UDF WITH SomeArray
>>
>>The programmer attempted to receive the array in a UDF.
>>PARAMETERS SomeArray
>>
>>Technically, the array wasn't passed, just the first element's value.
>
><snip>
>
>The whole array is passed in this case because the DO command passes parameters by reference (unless they are enclosed in the parenthesises).
Yes. You're right. I just read that in the help. However, that's not obvious from the code. There really was no need to pass the array at all. Other code buried 3 and 4 levels deep are accessing other arrays without passing them.
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