Secure temporary file: Difference between revisions
Content added Content deleted
({{omit from|PARI/GP}}) |
m (→{{header|Tcl}}: whitespace) |
||
Line 247: | Line 247: | ||
=={{header|Tcl}}== |
=={{header|Tcl}}== |
||
{{works with|Tcl|8.6}} |
{{works with|Tcl|8.6}} |
||
Will store the name of the file in the variable <code>filenameVar</code> and an open read-write channel on the file in the variable <code>chan</code>. |
Will store the name of the file in the variable <code>filenameVar</code> and an open read-write channel on the file in the variable <code>chan</code>. |
||
<lang Tcl>set chan [file tempfile filenameVar]</lang> |
<lang Tcl>set chan [file tempfile filenameVar]</lang> |