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

Home » Public Forums » archive » Re: trapping 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: trapping type conversion errors [message #22311 is a reply to message #22310] Wed, 01 November 2000 14:45 Go to previous message
Craig Markwardt is currently offline  Craig Markwardt
Messages: 1869
Registered: November 1996
Senior Member
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
------------------------------------------------------------ --------------
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: Re: Old Timers ??
Next Topic: IDLWAVE 4.5

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

Current Time: Fri Oct 10 07:37:38 PDT 2025

Total time taken to generate the page: 1.99930 seconds