Re: Is MAP procedure in IDL8.2 BROKEN? [message #81458] |
Fri, 21 September 2012 06:08 |
David Fanning
Messages: 11724 Registered: August 2001
|
Senior Member |
|
|
titan writes:
>> Try putting a compile_opt idl2 statement in your
>> program.
> Thanks a lot David,
>
> your suggestion was correct!
I've found that using this compile_opt idl2 statement
is practically required in any program running in IDL 8.x.
I think it is because the function graphics routines just
appropriated too many common programming words (map, image,
etc.).
Cheers,
David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.idlcoyote.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
|
|
|
Re: Is MAP procedure in IDL8.2 BROKEN? [message #81459 is a reply to message #81458] |
Fri, 21 September 2012 05:33  |
titan
Messages: 59 Registered: March 2006
|
Member |
|
|
On Friday, September 21, 2012 2:25:04 PM UTC+2, David Fanning wrote:
> titan writes:
>
>
>
>> I'm experiencing the following strange behavior of my IDL 8.2:
>
>>
>
>> If I would like to use the MAP procedure opening only IDL 8.2 it gives to me a syntax error (even when I'm using the example from IDL guide).
>
>> But if I open ENVI+IDL (classic) then the procedure is compiled without problem.
>
>>
>
>> Is anybody facing the same problem??
>
>
>
> Try putting a compile_opt idl2 statement in your
>
> program.
>
>
>
> Cheers,
>
>
>
> David
>
>
>
>
>
>
>
> --
>
> David Fanning, Ph.D.
>
> Fanning Software Consulting, Inc.
>
> Coyote's Guide to IDL Programming: http://www.idlcoyote.com/
>
> Sepore ma de ni thui. ("Perhaps thou speakest truth.")
Thanks a lot David,
your suggestion was correct!
Cheers
|
|
|
Re: Is MAP procedure in IDL8.2 BROKEN? [message #81460 is a reply to message #81459] |
Fri, 21 September 2012 05:25  |
David Fanning
Messages: 11724 Registered: August 2001
|
Senior Member |
|
|
titan writes:
> I'm experiencing the following strange behavior of my IDL 8.2:
>
> If I would like to use the MAP procedure opening only IDL 8.2 it gives to me a syntax error (even when I'm using the example from IDL guide).
> But if I open ENVI+IDL (classic) then the procedure is compiled without problem.
>
> Is anybody facing the same problem??
Try putting a compile_opt idl2 statement in your
program.
Cheers,
David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.idlcoyote.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
|
|
|