ASP WriteBlankLines နည်းလမ်း
❮ TextStream Object ရည်ညွှန်းချက်ကို အပြီးသတ်ပါ။
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 Object ရည်ညွှန်းချက်ကို အပြီးသတ်ပါ။