Writeline will write plain text. It has no options for formatting build inn.

You coud write a html file with writeline. This will give you formatting. I guess rtf is also possible but html is easier to make an example.

 Code:
Break on

$rc = Open (1, "c:\example.htm", 5)

$rc = WriteLine(1, "<font color=red face=Verdana size=3>" + @CRLF)
$rc = WriteLine(1, "Test." + @CRLF)
$rc = WriteLine(1, "<br>" + @CRLF)
$rc = WriteLine(1, "Hello this is a test html file using writeline in kixtart." + @CRLF)
$rc = WriteLine(1, "</font>" + @CRLF)
$rc = WriteLine(1, "<br>" + @CRLF)
$rc = WriteLine(1, "<H1>" + @CRLF)
$rc = WriteLine(1, "A big line." + @CRLF)
$rc = WriteLine(1, "</H1>" + @CRLF)

$rc = Close(1)


Edited by Mart (2007-09-13 06:33 PM)
Edit Reason: Oops, posted a lie. Ripped it out.
_________________________
Mart

- Chuck Norris once sold ebay to ebay on ebay.