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

Home » Public Forums » archive » Re: IDL>can anyone tell me what the problem is?
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Re: IDL>can anyone tell me what the problem is? [message #16613] Thu, 05 August 1999 00:00
davidf is currently offline  davidf
Messages: 2866
Registered: September 1996
Senior Member
Whoops! I wrote:

> I'd try this and see what happens:
>
> IDL> .Compile readsm
> IDL> al = readsmd("e:\data\9904100.dat")

I could use a typing class myself, I guess. :-(

Should be:

IDL> .Compile readsmd
IDL> al = readsmd("e:\data\9904100.dat")

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
Re: IDL>can anyone tell me what the problem is? [message #16614 is a reply to message #16613] Thu, 05 August 1999 00:00 Go to previous message
davidf is currently offline  davidf
Messages: 2866
Registered: September 1996
Senior Member
WinterDead (winterdead@aol.com) writes:

> well im on a windows system and this thing just wont work right i'm reading the
> info from a cdrom and it wont run the readsmd file is a professors program and
> it worked fine its in the right place i just dont kno whats wrong. he was using
> his unix machine i am using windows

Oh, dear. It looks like you could use a good book
on IDL programming. And probably a typing class,
judging from the evidence. :-(

> IDL> a1 = readsm('e:data\9904100')
> % Variable is undefined: READSM.
> % Execution halted at: $MAIN$

Humm. Misspelled the READSMD program name.

> IDL> a1 = readsmd('e:data\9904100')
> % Compiled module: READSMD.
> % OPENR: Error opening file: E:\data\9904100.
> No such process
> % Execution halted at: READSMD 9 C:\RSI\IDL50\readsmd.pro
> % $MAIN$

Well, now you mistyped the name of the data file, but
IDL seemed to figure it out anyway. (I *love* IDL sometimes!)
Still, it can't find the file. Are you sure it is there?

> IDL> a1 = readsmd('e:data\9904100.dat')
> % OPENR: Error opening file: E:\data\9904100.dat.
> No such process
> % Execution halted at: READSMD 9 C:\RSI\IDL50\readsmd.pro
> % READSMD 9 C:\RSI\IDL50\readsmd.pro
> % $MAIN$

I don't know. You mistyped the file name again (you need
a back slash after the colon), but you also forgot to type
RETALL (RETurn ALL the way back to the main level), so it's
hard to say.

I'd try this and see what happens:

IDL> .Compile readsm
IDL> al = readsmd("e:\data\9904100.dat")

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
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: date and time in IDL prompt?
Next Topic: IDL>can anyone tell me what the problem is?

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

Current Time: Sun Oct 12 13:48:04 PDT 2025

Total time taken to generate the page: 1.36052 seconds