myBDate = {^1961/1/1} text to m.lcTest TEXTMERGE noshow Today is <<transform(date(),'@YL'>>. Now I'm <<year(date())-year(m.myBDate)>> years old. This is ASCII value of A :<<asc('A')>> endtextNote that though the expression results are of different types textmerging takes care of it and easier then using string concatanation, ? etc.
use employee set textmerge to memvar m.lcHTML noshow set textmerge on \\<HTML><BODY><TABLE border="1"> \<TR><TH>First Name</TH><TH>Last Name</TH></TR> scan \<TR><TD><<First_Name>></TD><TD><<Last_Name>></TD></TR> endscan \</TABLE></BODY></HTML> set textmerge to set textmerge off StrToFile(m.lcHTML, "c:\CheckMe.htm")\ and \\ stand for ? and ?? for textmerge. Only those lines would be written to destination. IOW for scan..endscan part it's something like :
... scan m.lcHTML = m.lcHTML + chr(13) +; "<TR><TD>"+First_Name+"</TD><TD>"+Last_Name+"</TD></TR>" endscanCetin