วิธีการปิด ASP
❮ อ้างอิงวัตถุ TextStream ที่สมบูรณ์
วิธีปิดจะปิดไฟล์ TextStream ที่เปิดอยู่
ไวยากรณ์
TextStreamObject.Close
ตัวอย่าง
<%
dim fs,f
set fs=Server.CreateObject("Scripting.FileSystemObject")
set f=fs.CreateTextFile("c:\test.txt",true)
f.WriteLine("Hello World!")
f.Close
set f=nothing
set fs=nothing
%>
❮ อ้างอิงวัตถุ TextStream ที่สมบูรณ์