Metoda Close w ASP
Definicja i użycie
Metoda zamknięcia zamyka otwarty plik TextStream.
Schemat:
Zamknij strumień tekstowy
przykład
<% definiuj fs, f ustaw fs=Server.CreateObject("Scripting.FileSystemObject") ustaw f=fs.CreateTextFile("c:\test.txt",true) f.WriteLine("Hello World!") f.Close ustaw f=nothing ustaw fs=nothing %>