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

Home » Public Forums » archive » handling errors while reading in data files
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
handling errors while reading in data files [message #1352] Thu, 04 November 1993 14:39 Go to previous message
jabarone is currently offline  jabarone
Messages: 15
Registered: May 1993
Junior Member
Hi, I'm trying to write an application using IDL that, among
other things, reads in a user specified data file. These files have to
be of a specified format to be read in correctly. Now we all know users
make mistakes and will sometimes specify files that are not of the
correct format. Now if this sort of thing happens, while running the
application I'm writing, eventually some sort of read error will be
generated by a READF or RMF statement, the result of which is that my
program crashes. This is unacceptable. I need a way to be able to handle
errors created by reading in files that are of the wrong format.
I was able to figure out how to handle the case when a file doesn't
exist, but not when it is of the wrong format. Does anyone have a
solution to this problem. Any help would be greatly appreciated.
Please email me any suggestions you might have.

Thanks in advance.

John Barone
jabarone@athena.mit.edu
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: math symbols for PS.
Next Topic: Re: math symbols for PS.

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

Current Time: Sat Oct 11 10:17:57 PDT 2025

Total time taken to generate the page: 0.08038 seconds