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

Home » Public Forums » archive » Re: Attempt to subscript FILNAM with I is out of range....
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: Attempt to subscript FILNAM with I is out of range.... [message #31750 is a reply to message #31748] Thu, 15 August 2002 11:20 Go to previous messageGo to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Kolbjorn Bekkelund (kobe@rocketrange.no) writes:

> Hi again, David.
>
> I've checked the value of i and it starts at 0 and grows up to number of
> files contained in the ozon-online. No -1 !!
>
> What's strange is that the program runs without any hitches from within
> IDL, but if ran as part of a script with 'idl pro-name.pro' it craches.
> I've included the start of the code below. The rest, not included, is just the plotting
> stuff. maybe you can see something ?

Well, I'm perplexed. This code didn't generate those
errors unless no files were found in the location you
were looking for them. :-)

Why don't you set a breakpoint and step through your code,
examining things as you go. That's the best way to discover
these kinds of errors.

Cheers,

David
--
David W. Fanning, Ph.D.
Fanning Software Consulting, Inc.
Phone: 970-221-0438, E-mail: david@dfanning.com
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Toll-Free IDL Book Orders: 1-888-461-0155
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Hough transform help
Next Topic: keayboard events in draw widgets

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

Current Time: Fri Oct 10 13:38:41 PDT 2025

Total time taken to generate the page: 0.87803 seconds