About Us Documentation

Contact Site Map




Tcl_AllowExceptions(3)Tcl Library Procedures                  7.4



Tcl_AllowExceptions - allow all exceptions in next script evaluation


#include <tcl.h> Tcl_AllowExceptions(interp)


Tcl_Interp *interp (in) Interpreter in which script will be evaluated. _________________________________________________________________


If a script is evaluated at top-level (i.e. no other scripts are pending evaluation when the script is invoked), and if the script terminates with a completion code other than TCL_OK, TCL_CONTINUE or TCL_RETURN, then Tcl normally con- verts this into a TCL_ERROR return with an appropriate mes- sage. However, if Tcl_AllowExceptions is invoked immediately before calling a procedure such as Tcl_Eval, then arbitrary completion codes are permitted from the script, and they are returned without modification. This is useful in cases where the caller can deal with exceptions such as TCL_BREAK or TCL_CONTINUE in a meaningful way.


continue, break, exception, interpreter Tcl 1 Prepared by Ready-to-Run Software, Inc.


Email addresses listed on this site may  NOT be used for unsolicited commercial email.

Ready-to-Run Software, Inc Privacy Statement

Portions (c)Copyright, 1996-2005 by Ready-to-Run Software, Inc
(All rights reserved.)
212 Cedar Cove
Lansing, NY 14882
Phone: 607 533 UNIX (8649)
Fax: 607 533 4002

To return to the Ready-to-Run Software WinPak Table of contents please presshere