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 #50751 is a reply to message #50750] Wed, 18 October 2006 11:44 Go to previous messageGo to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Lajos writes:

> Function lookup comes first, then array subscripting. So, this part can be
> explained :-)

Yeah, yeah. IDL is confused. It thinks a function call
is a variable reference. I get that that. I even understand
how this works internally (more or less).

What I don't get is how THIS line causes the confusion:

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

And this line doesn't:

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

Any insights into that?

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: Sat Oct 11 13:12:07 PDT 2025

Total time taken to generate the page: 1.11297 seconds