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

Home » Public Forums » archive » Re: Speaking of loops
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
Re: Speaking of loops [message #13522] Fri, 13 November 1998 00:00
davidf is currently offline  davidf
Messages: 2866
Registered: September 1996
Senior Member
Kelly Dean (krdean@lamar.colostate.edu) writes:

> What is the best way to stop an endless loop in IDL due to bad
> prograimming?
>
> 1 ) Kill IDL
> 2 ) CNTL-C ( sometimes works)
>
> Looking for some suggestions ----

Most of my endless loops occur when I make programming
errors in my CATCH error handlers. :-( So my favorite
way to get out of them is:

CATCH, /CANCEL

as the FIRST line of every CATCH error handling routine I
write.

This is followed closely by CTRL-ALT-DELETE. :-)

CTRL-C doesn't usually work because most loops are
a single command to the IDL compiler and IDL doesn't
check for interrupts until the end of each command it
executes.

Cheers,

David

----------------------------------------------------------
David Fanning, Ph.D.
Fanning Software Consulting
E-Mail: davidf@dfanning.com
Phone: 970-221-0438, Toll-Free Book Orders: 1-888-461-0155
Coyote's Guide to IDL Programming: http://www.dfanning.com/
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: Cylindrical map projection screwed up?
Next Topic: Speaking of loops

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

Current Time: Wed Oct 08 18:53:43 PDT 2025

Total time taken to generate the page: 0.00366 seconds