[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: IDL> WHY IS THIS A NULL FILENAME



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