On Dec 13, 2006, at 4:03 PM, Charles Yeomans wrote:

Actually, it's even faster to do something like

if TemporaryFolder <> nil then
return TemporaryFolder.Child("temp" + Format(10000000000*Rnd, "#") + ".html"
else
  return nil
end if

Assuming TemporaryFolder <> nil, a few iterations can push the probability of failure below that of a hardware error.

Quite probably
Either works
The point was just there is no real absolute need for a list of all existing temp.html files to get a unique temporary file name

_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to