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

Home » Public Forums » archive » error messages
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: error message [message #40589 is a reply to message #31456] Tue, 17 August 2004 14:10 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Adhara writes:

> I am getting an error message that says:
>
> % Attempt to subscript A with I is out of range.
> % Execution halted at: $MAIN$42 C:\RSI\IDL55\lib\A
> This happens at line: ****************
>
> Can someone tell me what is going on? I did it for index Z=32L and it
> worked. Why it is not working for Z=2L??

Since you don't show us what "A" is, I'm going
to give you the benefit of the doubt and say
maybe it did work with an index of 32. But
my guess is that your index is not 2 when the
problem occurs. Send us the result of "Help, a",
and then print out the indices in your loop.
Tell us the value when the error occurs.

Cheers,

David

--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
[Message index]
 
Read Message
Read Message
Previous Topic: error message
Next Topic: Re: Getting rid of large nested FOR loops

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

Current Time: Tue Dec 02 08:19:49 PST 2025

Total time taken to generate the page: 0.80379 seconds