SUNiNET - Your Eggdrop & TCL resources site
[ Home Eggdrop TCL Links About ]

Guide to TCL scripting for Eggdrop 1.6


[ Previous ] [ Index ] [ Next ]


11.2 Closing files

After you are done with a file you have to close it.
Closing is told right now before reading and writing so that later on complete and better examples can be given, what's the point of opening and closing files if you don't do anything with them, right? :) You can close files with the close command.
The syntax of a close command is close <channel>.

The <channel> is the channel of the file you cought with the open command.

After you've closed a file you will have to re-open it before you can read from and write to it again.


[ Previous ] [ Index ] [ Next ]


Design & Graphics by Shawn Borton
Copyright © 2000-2005 Marijn van Zon