Hi Ted,
That's my conclusion too.
Laurie
On 22 April 2016 at 12:17, Ted Roche tedroche@gmail.com wrote:
On Thu, Apr 21, 2016 at 6:43 AM, Laurie Alvey trukker41@gmail.com wrote:
Using this technique to swap two array elements doesn't work. If you try this:
LOCAL ARRAY a[2] a[1] = 1 a[2] = 2 Swap(@a[1], @a[2])
you'll get Error 11.
"Function argument value, type, or count is invalid"
And why do you think that is?
I suspect it's because you can't pass a single array element by reference, only the array. Passing by reference needs reference toa *variable* like liCustomerPK. An array element is not a variable.
[excessive quoting removed by server]