Re: IDL !path command under Digital Unix [message #12037] |
Mon, 15 June 1998 00:00 |
steinhh
Messages: 260 Registered: June 1994
|
Senior Member |
|
|
Paul Morris wrote:
> The subdirectory /home/ATSRPW$DKB300:[TEST] contains all the ported
> VMS idl. However when I try and run the code in IDL all I get is
>
> idl> .run vms_port.pro
> % Can't open file for input: vms_port.pro
> No such file or directory
>
> This is strange as !path picks up /home/ATSRPW$DKB300:[TEST]
> correctly. It obviously has something to do with $ and [] symbols in
> the directory name, but these are handled without problem by the
> (bash) shell on which IDL is running.
I'd just like to point out that the directory name in question
contains a colon. Since a colon is the separator character for
multiple IDL paths, the thing is split in two:
"/home/ATSRPW$DKB300" plus "[TEST]"
Stein Vidar
|
|
|
Re: IDL !path command under Digital Unix [message #12038 is a reply to message #12037] |
Mon, 15 June 1998 00:00  |
wmc
Messages: 117 Registered: February 1995
|
Senior Member |
|
|
In article 89754457@physics.ox.ac.uk, Paul Morris <p.morris@physics.ox.ac.uk> writes:
> The subdirectory /home/ATSRPW$DKB300:[TEST] contains all the ported VMS idl.
> However when I try and run the code in IDL all I get is
>
> idl> .run vms_port.pro
> % Can't open file for input: vms_port.pro
> No such file or directory
>
> This is strange as !path picks up /home/ATSRPW$DKB300:[TEST] correctly.
Well, I tried this (idl 5.0.3, digital unix 4.0d, probably running ksh)
and its quite capable of finding files in directories with $ and [] in them
(though I didn't try both at once).
Are you sure vms_port.pro is in the said directory? Its not, for example,
VMS_PORT.PRO or vms_port.pro;1? IDL isn't case sensitive on routine names
but it is on files names, which is what .run implicitly uses.
- William
---
William M Connolley | wmc@bas.ac.uk | http://www.nbs.ac.uk/public/icd/wmc/
Climate Modeller, British Antarctic Survey | Disclaimer: I speak for myself
|
|
|