Writes a character string and one or two end-of-line characters to a file previously opened with create( ) or open( ). Returns the number of characters written.

Syntax

<oRef>.writeln(<string expC> [, <characters expN> [, <end-of-line expC>]])

Property of

File

Description

writeln( ) is identical to puts( ). See puts( ) for details.