tutorial pengembangan web terbaru
 

ASP Tutup Metode


<Complete Reference TextStream Object

Close Metode menutup file TextStream terbuka.

Sintaksis

TextStreamObject.Close

Contoh

<%
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
%>

<Complete Reference TextStream Object