>>oh!
>>release all is befor the for
>>sorry,
>>my typo
>>
>>but why does it crash on the
>>?m.f1.af1.af1.name ?
>>
>>release all
>>for m.xi = 1 to 10
>>DIMENSION af1[10]
>>m.f1 = CREATEOBJECT("custom")
>>m.f1.addproperty('af1[1]')
>>ACOPY(af1,m.f1.af1)
>>
>>m.f1.af1[1] = CREATEOBJECT('custom')
>>m.f1.af1[1].addproperty('af1[1]')
>>ACOPY(af1,m.f1.af1[1].af1)
>>?m.f1.af1.af1.name
>>endfor
>>
>>suhashegde
>>
>>Update
>>
>>infact there is also no need of the 'for' loop it crashes without it also
>
>I don't know why the fatal error appears, but at some moment, instead of a fatal error I get "unknown member".
I fixed the problem with using specifically [1] for the arrau
But should the array return the first element without [] instead of crashing ?
It crashes instantly in VFP8 but in vfp6 i get a unknown member sometimes ...
suhashegde