Re: IDL> WHY IS THIS A NULL FILENAME [message #16645] |
Tue, 10 August 1999 00:00 |
R.Bauer
Messages: 1424 Registered: November 1998
|
Senior Member |
|
|
David Fanning wrote:
> WinterDead (winterdead@aol.com) writes:
>
>> I am on a windows machine. I am trying to make and anymation. the program that
>> will not run is readsmd. this program was written by one of my proffesors. it
>> worked fine on his unix machine but it does not seem to want to run now.
>> I compiled it but it still wont run. help please
>> here is an example of my problem:
>
> I'm going to guess, on the basis of the evidence
> that you provide, that your problem is that you
> are looping through 20 filenames and you have
> only supplied 10. On the 11th RSI is trying to
> tell you "no can do". :-)
>
> IDL> fe=strarr(10)
> ...
> IDL> for k=0,19 do e(*,*,k)=readsmd(fe(k))
>
> Cheers,
>
> David
> --
Notice
IDL> for k=0,19 do e[*,*,k]=readsmd(fe[k])
R.Bauer
|
|
|
Re: IDL> WHY IS THIS A NULL FILENAME [message #16651 is a reply to message #16645] |
Mon, 09 August 1999 00:00  |
davidf
Messages: 2866 Registered: September 1996
|
Senior Member |
|
|
WinterDead (winterdead@aol.com) writes:
> I am on a windows machine. I am trying to make and anymation. the program that
> will not run is readsmd. this program was written by one of my proffesors. it
> worked fine on his unix machine but it does not seem to want to run now.
> I compiled it but it still wont run. help please
> here is an example of my problem:
I'm going to guess, on the basis of the evidence
that you provide, that your problem is that you
are looping through 20 filenames and you have
only supplied 10. On the 11th RSI is trying to
tell you "no can do". :-)
IDL> fe=strarr(10)
...
IDL> for k=0,19 do e(*,*,k)=readsmd(fe(k))
Cheers,
David
--
David Fanning, Ph.D.
Fanning Software Consulting
Phone: 970-221-0438 E-Mail: davidf@dfanning.com
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Toll-Free IDL Book Orders: 1-888-461-0155
|
|
|