Write

ASP Write metodi


❮ TextStream obyektining to‘liq ma’lumotnomasi

Write metodi TextStream fayliga ko‘rsatilgan matnni yozadi.

Eslatma: Bu metod matnni TextStream fayliga har bir string orasida bo‘shliq yoki qator uzilishisiz yozadi.

Sintaksis

TextStreamObject.Write(text)

Parametr Tavsif
text Majburiy. Faylga yoziladigan matn

Misol

<% dim fs,f set fs=Server.CreateObject("Scripting.FileSystemObject") set f=fs.CreateTextFile("c:\test.txt",true) f.write("Hello World!") f.write("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 obyektining to‘liq ma’lumotnomasi

W3Schools Pathfinder

Yutuqlaringizni kuzating – bu bepul!