Re: Floating illegal operand error when reach end of for loop [message #75439] |
Tue, 08 March 2011 16:19 |
Snow53
Messages: 32 Registered: July 2010
|
Member |
|
|
On Mar 8, 3:56 pm, Snow53 <jennifer_wa...@hotmail.com> wrote:
> Hey all,
>
> I'm applying the function mkstrend (see:http://objectmix.com/idl-pvwave/336583-code-kendall-tre nd-test.html)
> within a double for loop (for row, for column). All is fine until I
> reach the end of the loop. After the last row and column is processed,
> I get a "Floating illegal operand" error and my program crashes. The
> same thing happens if I change the number of rows and columns I'm
> looping through.
>
> Why is this happening and how do I fix? Thanks!
So I was able to run the program just fine with a 32-bit operating
system but not with 64-bit (Windows 7 or Linux). The solution? A
quick-fix bandaid (!EXCEPT=0).
|
|
|
Re: Floating illegal operand error when reach end of for loop [message #75440 is a reply to message #75439] |
Tue, 08 March 2011 15:14  |
penteado
Messages: 866 Registered: February 2018
|
Senior Member Administrator |
|
|
On Mar 8, 7:56 pm, Snow53 <jennifer_wa...@hotmail.com> wrote:
> Hey all,
>
> I'm applying the function mkstrend (see:http://objectmix.com/idl-pvwave/336583-code-kendall-tre nd-test.html)
> within a double for loop (for row, for column). All is fine until I
> reach the end of the loop. After the last row and column is processed,
> I get a "Floating illegal operand" error and my program crashes. The
> same thing happens if I change the number of rows and columns I'm
> looping through.
>
> Why is this happening and how do I fix? Thanks!
Without seeing your program and knowing at least where it crashes, we
can narrow it down to almost anything.
|
|
|