comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Deleting files from IDL
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Deleting files from IDL [message #4276] Thu, 18 May 1995 00:00 Go to previous message
cabr69 is currently offline  cabr69
Messages: 8
Registered: April 1995
Junior Member
Hello all,

I have a file selection widget which gives me an option to pick an old file, pick
no file or create a new one. The name for the new file is entered in an editable
text widget. The problem is that if i make a mistake with the name the file
gets created immediately, and when i enter a new name i end up with two files. Ok i
could create the file after i'm finished rather than straight away but for my
application this is not practicable. I'm running under Unix and if i use

spawn,'rm filename'

it doesn't work since filename in the IDL code is a variable (e.g.state.file).What i
would really like is an IDL command which removes a file but i don't know of any.
I'm thinking of something like

IDL>remove_file,state.file

Does anyone know if such a thing exists?

Thanks in advance,

David
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: map_set in idl 5
Next Topic: Re: drawing lines in IDL

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 13:56:30 PDT 2025

Total time taken to generate the page: 0.00416 seconds