error trap

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

error trap

Davide Arrigo
hi guys, I want to implement an "error trap" in Squeak, something like "on
error goto:" in other  languages.
When a method encounter an error during execution of a block of code  (an
error like: square root or logarithm of a negative numbers, division by zero
and so on..) I want only a message, send to Transcript, without any dialog
box ask to me if I want to proceed, stop or debug. I wouldn't halt the
program but always proceed automatically with the next block of code
evaluation.
Is it  possible?
Thanks in advance.

--
---------------
Davide Arrigo
_______________________________________________
Beginners mailing list
[hidden email]
http://lists.squeakfoundation.org/mailman/listinfo/beginners