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

Home » Public Forums » archive » Re: Updates to Popular Coyote Library Programs
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: Updates to Popular Coyote Library Programs [message #62733 is a reply to message #62732] Thu, 02 October 2008 07:57 Go to previous messageGo to previous message
FÖLDY Lajos[1] is currently offline  FÖLDY Lajos[1]
Messages: 1
Registered: October 2008
Junior Member
On Thu, 2 Oct 2008, Mike wrote:

> if keyword_set(overwrite_prompt) then begin
> IF dialog THEN filename = Dialog_Pickfile(/Write,
> File=filename, /overwrite_prompt)
> endif else begin
> IF dialog THEN filename = Dialog_Pickfile(/Write, File=filename)
> endelse
>
> That way I'm prompted it I attempt to overwrite a file. If I use the
> NODIALOG keyword, I can still blissfully overwrite without a care in
> the world.

Just for curiosity: why not simply

IF dialog THEN $
filename = Dialog_Pickfile(/Write, File=filename, $
overwrite_prompt=overwrite_prompt)

regards,
lajos
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: Venn diagram?
Next Topic: Re: IDLWAVE "Expanding path..."

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

Current Time: Fri Oct 10 16:31:33 PDT 2025

Total time taken to generate the page: 0.80276 seconds