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

Home » Public Forums » archive » Re: Is MAP procedure in IDL8.2 BROKEN?
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
Re: Is MAP procedure in IDL8.2 BROKEN? [message #81458] Fri, 21 September 2012 06:08
David Fanning is currently offline  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 Go to previous message
titan is currently offline  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 Go to previous message
David Fanning is currently offline  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.")
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Is MAP procedure in IDL8.2 BROKEN?
Next Topic: Plot Size difference

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

Current Time: Wed Oct 08 13:34:34 PDT 2025

Total time taken to generate the page: 0.00883 seconds