Private archive copy · Unofficial site · Content copyright belongs to Runoob Tutorial and the original authors · View Original

ASP Close Method

ASP Close Method


TextStream Object Reference Complete TextStream Object Reference Manual


The Close method closes an open TextStream file.

Syntax

TextStreamObject.Close

Example

<%

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 Object Reference Complete TextStream Object Reference Manual