one = "test" two = "123" lcfield = "start<<d1>>callit('<< one>>', '<<two>>' )<<d2>>end" d1 = [<<] d2 = [>>] x = textmerge( lcfield, .t. )>Not sure I understand the usefulness of the recursive parameter in this function, attempting to next an substitution item inside another doesn't work:
>* spaces added after the < so the UT will post the message >one = "test" >two = "123" >lcfield = "start< < callit( '< < one>>', '< < two>>' )>>end" >lcx = textmerge( lcfield, .t. ) && error 36 barfs up > >function callit( lc1, lc2 ) >return lc1 + lc2 >>
>lcfield = "< < callit( '{{one}}', '{{two}}' )>>end" >lcx = textmerge( lcfield, .t., "{{", "}}" ) >lcy = textmerge( lcx ) >>