ASP WriteBlankLines 메서드


❮ 완전한 TextStream 객체 참조

WriteBlankLines 메서드는 지정된 수의 줄 바꿈 문자를 TextStream 파일에 씁니다.

통사론

TextStreamObject.WriteBlankLines(numlines)

Parameter Description
numlines Required. The number of new-line characters to write to the file

예시

<%
dim fs,f
set fs=Server.CreateObject("Scripting.FileSystemObject")
set f=fs.CreateTextFile("c:\test.txt",true)
f.WriteLine("Hello World!")
f.WriteBlankLines(2)
f.WriteLine("How are you today?")
f.close
set f=nothing
set fs=nothing
%>

The file test.txt will look like this after executing the code above:

Hello World!


How are you today?

❮ 완전한 TextStream 객체 참조