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

Catching type conversion errors




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