From: "Michael W. Ryder" <_mwryder@...> Date: 2008-06-14T08:29:25+09:00 Subject: Re: raise and rescue Daniel Brumbaugh Keeney wrote: > On Fri, Jun 13, 2008 at 5:34 PM, Michael W. Ryder > <_mwryder@worldnet.att.net> wrote: >> So how would you do something that requires user intervention, say in >> putting more paper in a printer? > > def foo > do_something > > Maybe I am missing the point here but it doesn't appear that it would do what I have been doing for over 20 years with Business Basic. There I enter a line saying SETERR 9200 at the beginning of the program and the program automatically goes to that line when an error occurs anywhere in the program. From there I can display a message saying what is wrong and the operator can fix the problem and continue with the program or abort the program. Your example seems to require that I call a method anytime I run into a problem. This would seem to require that each possible problem area be surrounded by a while loop much like I have done in C. > > Daniel Brumbaugh Keeney >