By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,404 Members | 1,074 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,404 IT Pros & Developers. It's quick & easy.

Continuing after error

P: n/a
Hi,

Does anyone know if it is possible to resume the execution of a program
after it stops at an error in the code and the error was corrected?

Sincerely,
Sheldon

Sep 28 '06 #1
Share this Question
Share on Google+
1 Reply


P: n/a
Sheldon wrote:
Hi,

Does anyone know if it is possible to resume the execution of a program
after it stops at an error in the code and the error was corrected?
try:
do something
except SomeException:
correct the error

do something else

i.e. you handle the error in the except clause. If that's successful, your
program will continue normally.

Georg
Sep 28 '06 #2

This discussion thread is closed

Replies have been disabled for this discussion.