Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Idl-pvware > How to catch an...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 4 Topic 5374 of 6247
Post > Topic >>

How to catch any IDL errors?

by Nicolas <primeseeds@[EMAIL PROTECTED] > Jan 31, 2008 at 01:44 AM

Hi folks,

Could any IDL expert explain me to cause IDL to be stopped ANYTIME an
error occur?

I've been struggling to catch an "% Keyword parameters not allowed in
call" error.
I don't know which keyword parameters, neither which routine....
I can't locate the error. It's a nightmare!

Already tried:

1) on_error, 0

2) CATCH, Error_status
    IF Error_status NE 0 THEN BEGIN
       PRINT, 'Error index: ', Error_status
       PRINT, 'Error message: ', !ERROR_STATE.MSG
       stop
    ENDIF

Please help! :)

Nicolas
 




 4 Posts in Topic:
How to catch any IDL errors?
Nicolas <primeseeds@[E  2008-01-31 01:44:16 
Re: How to catch any IDL errors?
izimine@[EMAIL PROTECTED]  2008-01-31 02:38:05 
Re: How to catch any IDL errors?
David Fanning <news@[E  2008-01-31 07:04:42 
Re: How to catch any IDL errors?
David Fanning <news@[E  2008-01-31 07:08:36 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Fri Oct 10 13:21:12 CDT 2008.