VBScript » TextStream » WriteBlankLines

Version: 2.0

Syntax:
object.WriteBlankLines(lines)

Used to write a number of consecutive newline characters (defined with the lines parameter) to a TextStream file.

Used to write a number of consecutive newline characters (defined with the lines parameter) to a TextStream file.

Examples

Code:
<%
Dim filesys, testfile
Set filesys = CreateObject("Scripting.FileSystemObject")
Set testfile= filesys.CreateTextFile("c:\somefile.txt", True)
testfile.WriteBlankLines(3)
testfile.Close
%>