>Hi,
>
>I want to return an array from a modal form:
>
>DO FORM frmTest TO laArray
>
>I create an array in the form 'frmTest' but can't return the array only a value.
>
>Thanks
Roy,
There are multiple (at least 6 I think) ways to do that.
-One simple way would be to return an object with an array property
-Declare array before form calling
-Do not return anything (this is my favorite)
etc.
Do not return anything approach :
local loForm
local array arrRet[1]
do form myForm name loForm linked
acopy(loForm.arrValues, arrRet)
loForm.release
release loForm
this.arrValues[...] = ....
this.Hide()
Cetin