How can I send an array wich is a property of a form (ie: Thisform.aMyarray) to a function as a referenced parameter, I'm trying to do this: lnReturnedValue = MYFUNCTION(@ThisForm.aMyarray) but it doesn´t work
I've been doing this but it can be a lot of overhead processing
local laMyarray(1), lnReturnedValue
=acopy(ThisForm.aMyarray,laMyarray) &© the array to a temporary local variable
lnReturnedValue = MYFUNCTION(@laMyarray) &&the function changes the array
=acopy(paMyarray,ThisForm.aMyarray) &&return the temporary array to the property
Any help?
Jorge Flores
From the Amigo Country