Have a look at the Open(), Writeline() and Close() functions. They can be used to open a file, write to it and close it.
_________________________
Mart

- Chuck Norris once sold ebay to ebay on ebay.