TextStream.WriteLine() (Method)

A method that writes a line to the text stream.

Availability:

JScript - 2.0
Internet Explorer - 4.0
JavaScript syntax:IEmyTextStream.WriteLine()
IEmyTextStream.WriteLine(aString)
Argument list:aStringA string to be written to the file

This is similar to the Write() method except that it automatically places a newline character after the string that has been written. In addition, the string value is optional in which case this is functionally identical to calling WriteBlankLines(1).

See also:TextStream.Write(), TextStream.WriteBlankLines()