DELETE keyword to open [message #8865] |
Mon, 05 May 1997 00:00 |
Phil Williams
Messages: 78 Registered: April 1996
|
Member |
|
|
I'm adding an autosave feature to one of my widget apps in case the user
get logged off before completion, or god forbid, my application should
crash. I want to do this in a way that is independent of the OS that IDL
is running upon.
While searching the IDL docs I came across the DELETE keyword to open
and thought my problem was solved. But this doesn't seem to be working
properly. Here's what I did:
print,'Deleting temp file...'
openr, filelun, path+filename, /delete, /get
free_lun, filelun
I have also tried it w/ openw and openu. Any ideas would be greatly
appreciated.
Thanks,
--
/*********************************************************** ********/
Phil Williams, Ph.D.
Research Instructor
Children's Hospital Medical Center "One man gathers what
Imaging Research Center another man spills..."
3333 Burnet Ave. -The Grateful Dead
Cincinnati, OH 45229
email: williams@irc.chmcc.org
URL: http://scuttle.chmcc.org/~williams/
/*********************************************************** ********/
|
|
|