Anonymous user
Secure temporary file: Difference between revisions
→{{header|Groovy}}
Line 165:
</pre>
<lang groovy>def file = File.createTempFile( "xxx", ".txt" )
// There is no requirement in the instructions to delete the file.
//file.deleteOnExit()
println file</lang>
|