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

Home » Public Forums » archive » ERROR_MESSAGE
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
ERROR_MESSAGE [message #77798] Thu, 22 September 2011 10:18
wlandsman is currently offline  wlandsman
Messages: 743
Registered: June 2000
Senior Member
I am almost ready to adopt David's ERROR_MESSAGE routine (along with CATCH statements) for my error handling, and abandon ON_ERROR,2. But what bothers me are examples like the following:

!p.multi=[0,4,4]
for i=0,15 do cgplot,indgen(10),colour='red'

in which an error message widget pops up (since I spelled 'color' in an un-American way), I press 'OK' and another error message widget pops up, ad infinitum. In general, I would prefer error messages to terminate processing rather than try to continue, and likely encounter further errors.

One possible solution is for the pop-up widget to have two buttons "OK" and "RETALL" (though this has the disadvantage of introducing a choice). But maybe there is a better solution, or maybe I just need to adjust my thinking.

Thanks, --Wayne
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Line plot with arrows
Next Topic: Re: ERROR_MESSAGE

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

Current Time: Wed Oct 08 19:40:29 PDT 2025

Total time taken to generate the page: 0.00513 seconds