Skip to content
Related Articles

Related Articles

Improve Article
Save Article
Like Article

ASP WriteBlankLines Method

  • Last Updated : 03 Mar, 2021

The ASP WriteBlankLines Method is used to write a specified number of new-line characters to a Text File. It is an in-built method of the TextStream Object. 



Parameter Values:

  • numchar: Required attribute. It contains a numeric value that specifies the number of new-line characters which you want to be written to the text file.

Example Code: Below code illustrates the ASP WriteBlankLines Method. 


dim fs,f
set fs=Server.CreateObject("Scripting.FileSystemObject")
set f=fs.CreateTextFile("d:\GFG.txt",true)
f.WriteLine("Hello GeeksForGeeks")
f.WriteLine("A computer Science portal for Geeks")
set f=nothing
set fs=nothing


Hello GeeksForGeeks

A computer science portal for Geeks
My Personal Notes arrow_drop_up
Recommended Articles
Page :