>>>Interesting... Is this still a bug in VFP8?
>>>
>>I believe it has been fixed in VFP8.
>
>We did fix a fatal exception with the TextMerge() function in VFP8 that Christof Lange reported.
>
>This code repro's that error in VFP7 and VFP7 SP1. Usually it crashes before 5000 iterations.
>
>
>t=0
>DO while .t.
> @ 0,0 say Str(t)
> lc = Sys(2015)
> Public (lc)
> Store Replicate("X",Rand()*999) to (lc)
> lc2 = Sys(2015)
> Store Textmerge(lc) to (lc2)
> t=t+1
> Release (lc)
> release (lc2)
>ENDDO
>RETURN
>
Thanls for confirmation, Jim.
--sb--