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

Home » Public Forums » archive » Re: Catching type conversion errors
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: Catching type conversion errors [message #13928 is a reply to message #13927] Tue, 29 December 1998 00:00 Go to previous message
Martin Schultz is currently offline  Martin Schultz
Messages: 515
Registered: August 1997
Senior Member
M. Hegde wrote:
>
> Hi,
>
> I observe that CATCH doesn't capture type conversion errors ( in the absence
> of ON_IOERROR command ). This appears to violate the error handling mechanism
> given in the IDL user's guide. Am I missing something? Are there any other
> errors which CATCH can not capture?
>
> Thanks in advance.
>
> -M. Hegde
>
> ex:
> PRO test
> CATCH, err
> IF ( err NE 0 ) THEN BEGIN
> PRINT, !ERROR
> RETURN
> ENDIF
> a = FIX ( 'abc' )
>
> END

same behaviour ...
{ mipseb IRIX unix 5.1.1 Jul 20 1998}
This definitively runs counter what they say in the online help, and
should therefore considered a real bug.

Martin.
--
------------------------------------------------------------ -------
Dr. Martin Schultz
Department for Engineering&Applied Sciences, Harvard University
109 Pierce Hall, 29 Oxford St., Cambridge, MA-02138, USA

phone: (617)-496-8318
fax : (617)-495-4551

e-mail: mgs@io.harvard.edu
Internet-homepage: http://www-as.harvard.edu/people/staff/mgs/
------------------------------------------------------------ -------
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: TCP/IP Sockets interface to IDL
Next Topic: Re: PV-Wave/IDL Style Guide -- Does one exist?

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

Current Time: Sat Oct 11 02:36:14 PDT 2025

Total time taken to generate the page: 1.12697 seconds