|
|
|
Re: Resolve_all behaves differently on that command line that in the IDE console [message #90858 is a reply to message #90857] |
Tue, 28 April 2015 21:46   |
timothyja123
Messages: 57 Registered: February 2013
|
Member |
|
|
On Wednesday, April 29, 2015 at 2:24:46 PM UTC+10, Jim P wrote:
> On Tuesday, April 28, 2015 at 9:19:26 PM UTC-6, timoth...@gmail.com wrote:
>> Wow I really messed up the heading.
>>
>> Should be: "Resolve_all behaves differently on the command line than in the IDE console."
>
> What's in !path when just before you run your script in both cases? What's your starting directory? The following should help you debug the situation.
>
> IDL> print, !path
> IDL> print, pref_get('IDL_PATH')
> IDL> cd, current = c & print, c
>
> Jim P.
Thanks Jim :)
Seems the IDE adds your project paths and subpaths to !path, adding the sub directory to !path in my build program fixed building from the command line.
|
|
|
|