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

Home » Public Forums » archive » Re: Weirdest Error Ever
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: Weirdest Error Ever [message #50756 is a reply to message #50755] Wed, 18 October 2006 11:03 Go to previous messageGo to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Lajos writes:

> don't you have a 1D array named Reverse somewhere? Have you tried
> compile_opt strictarr?

Yes, I can fix it with compile_opt StrictArr, too.
And I have now narrowed the problem down to IDL
thinking the REVERSE(bar) call is a subscripted
variable call and not a function call. I know
how to *fix* this--I have a version that works,
after all.

What I am interested in knowing is how this line:

bar = BYTSCL(bar, TOP=(ncolors-1) < (255-bottom)) + bottom

confuses IDL into thinking my REVERSE call two lines
later is a variable subscript and not a function call.
What is THAT all about!?

Cheers,

David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: fast search
Next Topic: shapiro wilks test

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

Current Time: Wed Oct 08 18:04:05 PDT 2025

Total time taken to generate the page: 0.00577 seconds