Version 0 of file tempfile

Updated 2008-11-29 18:35:25 by dkf

Creates a temporary file and returns an open read-write channel to it.

file tempfile ?varName? ?template?

If varName is given, set that variable to the name of the temporary file (otherwise tries to delete the file at the first opportunity). If template is given, use it to guide the filename generated.

This command was introduced by TIP#210 in Tcl 8.6.