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 #50753 is a reply to message #50751] Wed, 18 October 2006 11:32 Go to previous messageGo to previous message
Foldy Lajos is currently offline  Foldy Lajos
Messages: 268
Registered: October 2001
Senior Member
On Wed, 18 Oct 2006, David Fanning wrote:

> Even MORE oddly, if I start a fresh session and compile REVERSE
> before I do anything else, the program that fails works perfectly!!

When compiling COLORBAR, IDL sees that it has a function named REVERSE,
so emits a function call op.

> If I start a fresh session and compile the program that fails, then
> compile REVERSE, then run the program, it *still* fails.

When compiling COLORBAR, IDL sees that it has no function named REVERSE,
so emits an array subscripting op.

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

regards,
lajos
[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: Fri Oct 10 06:12:23 PDT 2025

Total time taken to generate the page: 0.87698 seconds