DO FORM xxxx WITH SourceData TO ReturnDataI know I have to return it from the Form.Unload() but.....?
>do Form xx to tt >>
>local obj, nElements >obj = createobject('empty') >nElements = 24 > >= addproperty(m.obj, 'aa[m.nElements]') >local i >for i = 1 to m.nElements > obj.aa[m.i] = m.i >endfor > >=dodefault() > >return m.obj >Thanks both. Ended up passing the object to the calling form (since it basically modified an existing array) so there was no need to pass anything back...