Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

SignUp Now!

A safe %@FILETEMP[prefix?] with CREATE_ALWAYS, ATTR_TEMP, and DELETE_ON_CLOSE

Sep
32
1
I really wish I had this for safe temp files.

prefix just for an Optional prefix for the actual filename for debugging.

In a perfect world there is also a: %@TEMPFILENAME[number?, [c]reate?].
Given an Optional number, return the filename if it was created with FILETEMP. Without a number, return a filename that now exists on the filesystem and has been optionally created if 2nd Optional create param is set.
 
Back
Top