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

Home » Public Forums » archive » Help from UNIX IDL 7.1 Users
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Help from UNIX IDL 7.1 Users [message #67657] Tue, 18 August 2009 16:17 Go to next message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Folks,

I am looking for someone running a UNIX version of
IDL 7.1 to confirm that the problem described in
this article dealing with Dialog_Pickfile has
been fixed.

http://www.dfanning.com/fileio_tips/unixpickfile.html

Specifically, if you specify both a file name and
a path when you call Dialog_Pickfile, and then do
nothing else except hit the Accept button, the file name
that is returned has two paths appended to it and is
bogus.

I am interested in what is in the Selection box,
and what is returned.

I am, say we say, dubious. :-)

Thanks,

David
--
David Fanning, Ph.D.
Coyote's Guide to IDL Programming (www.dfanning.com)
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
Re: Help from UNIX IDL 7.1 Users [message #67867 is a reply to message #67657] Tue, 25 August 2009 07:01 Go to previous message
yp is currently offline  yp
Messages: 42
Registered: February 2005
Member
I had encountered with this bug a while ago on Red Hat release 4. The
way around to this was to use EXPAND_PATH() function.
IDL> theDirectory = EXPAND_PATH('~/IDL/coyote/')
IDL> theFile = 'fsc_surface.pro'
IDL> selectedFile = Dialog_Pickfile(FILE=theFile, PATH=theDirectory)

The file selection box still doesn't look right; as you said it
doesn't look right, but it acts right.


On Aug 19, 12:17 am, David Fanning <n...@dfanning.com> wrote:
> Folks,
>
> I am looking for someone running a UNIX version of
> IDL 7.1 to confirm that the problem described in
> this article dealing with Dialog_Pickfile has
> been fixed.
>
> http://www.dfanning.com/fileio_tips/unixpickfile.html
>
> Specifically, if you specify both a file name and
> a path when you call Dialog_Pickfile, and then do
> nothing else except hit the Accept button, the file name
> that is returned has two paths appended to it and is
> bogus.
>
> I am interested in what is in the Selection box,
> and what is returned.
>
> I am, say we say, dubious. :-)
>
> Thanks,
>
> David
> --
> David Fanning, Ph.D.
> Coyote's Guide to IDL Programming (www.dfanning.com)
> Sepore ma de ni thui. ("Perhaps thou speakest truth.")
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: IDL vs GDL
Next Topic: Speed-up of code

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

Current Time: Wed Oct 08 18:56:29 PDT 2025

Total time taken to generate the page: 0.00499 seconds