I think Sergey's answer below will help you:
Re: Passing Array by Reference to a Form vfp6 Thread #
659071 Message #
659629Tracy
>Hello Boys ...
>
>My Modal Form can't Return an Array !!
>
>For example
>The Modal Form's Unload Method has:
>
>LOCAL xArray(2,2)
>
>xArray(1,1) = "A"
>xArray(1,2) = "B"
>xArray(2,1) = "C"
>xArray(2,2) = "D"
>
>RETURN xArray
>
>... I call the form:
>
>DO FORM MyModalForm TO xx
>
>...and xx only get the first element o the array
>
>Is it posible to get the entire array ?
>
>Many Thanks
>Amilcar Pino
.·*´¨)
.·`TCH
(..·*
010000110101001101101000011000010111001001110000010011110111001001000010011101010111001101110100
"When the debate is lost, slander becomes the tool of the loser." - Socrates
Vita contingit, Vive cum eo. (Life Happens, Live With it.)
"Life is not measured by the number of breaths we take, but by the moments that take our breath away." -- author unknown
"De omnibus dubitandum"