Adam D. Ruppe: > It is perfectly valid to pass a string to the write function. > He simply called the wrong function. Sorry. Bye, bearophile