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

Home » Public Forums » archive » Catching type conversion errors
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
Catching type conversion errors [message #13929] Tue, 29 December 1998 00:00
hegde is currently offline  hegde
Messages: 17
Registered: December 1995
Junior Member
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
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: cw_fslider
Next Topic: Re: IDLgrImage

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

Current Time: Wed Oct 08 19:16:03 PDT 2025

Total time taken to generate the page: 0.00539 seconds