> Has anyone any idea on what I can do to intercept an error and decide
> what to do with the exception?
Matteo,
If you execute a command within the Tcl "catch" statement, you can
trap the error message and handle it. Like this:
if {[catch {open file.txt w} error]} {
puts "I got an error!: $error"
}
Damon
_______________________________________________
vtcl-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/vtcl-user
- [vtcl-user] Error handling Matteo Centenaro
- RE: [vtcl-user] Error handling Damon Courtney
- RE: [vtcl-user] Error handling Techentin, Robert W.
