[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: trapping type conversion errors
Vapuser <vapuser@catspaw.jpl.nasa.gov> writes:
> I may be missing something, but are type conversion errors
> untrappable?
Apparently you trap these with ON_IOERROR. I just verified this with
your example. I think some other folks on the list know some caveats
about this; it may not always be foolproof.
As for math errors, yes I believe the only way to detect them is with
CHECK_MATH().
Craig
--
--------------------------------------------------------------------------
Craig B. Markwardt, Ph.D. EMAIL: craigmnet@cow.physics.wisc.edu
Astrophysics, IDL, Finance, Derivatives | Remove "net" for better response
--------------------------------------------------------------------------