Unix and Linux Discussions Tagged with script |
|
Thread / Thread Starter |
Last Post |
Replies |
Views |
Forum |
|
|
|
2 |
9,817 |
UNIX for Beginners Questions & Answers |
|
|
|
3 |
4,575 |
UNIX for Beginners Questions & Answers |
|
|
|
3 |
17,173 |
Shell Programming and Scripting |
|
|
|
7 |
19,887 |
Shell Programming and Scripting |
|
|
|
2 |
2,206 |
UNIX for Beginners Questions & Answers |
|
|
|
1 |
5,019 |
UNIX for Beginners Questions & Answers |
|
|
|
2 |
14,852 |
Shell Programming and Scripting |
|
|
|
3 |
3,875 |
UNIX for Beginners Questions & Answers |
|
|
|
4 |
3,487 |
UNIX for Beginners Questions & Answers |
|
|
|
8 |
3,903 |
UNIX for Beginners Questions & Answers |
|
|
|
2 |
5,395 |
UNIX for Beginners Questions & Answers |
|
|
|
16 |
6,074 |
UNIX for Beginners Questions & Answers |
|
|
|
3 |
25,195 |
Shell Programming and Scripting |
|
|
|
8 |
5,111 |
UNIX for Beginners Questions & Answers |
|
|
|
1 |
4,825 |
UNIX for Beginners Questions & Answers |
|
|
|
1 |
10,219 |
UNIX for Advanced & Expert Users |
|
|
|
8 |
6,500 |
UNIX for Beginners Questions & Answers |
|
|
|
15 |
9,672 |
UNIX for Beginners Questions & Answers |
|
|
|
3 |
7,184 |
UNIX for Beginners Questions & Answers |
|
|
|
6 |
4,909 |
UNIX for Beginners Questions & Answers |
|
|
|
2 |
8,491 |
UNIX for Beginners Questions & Answers |
|
|
|
12 |
3,664 |
UNIX for Beginners Questions & Answers |
|
|
|
7 |
23,974 |
Shell Programming and Scripting |
|
|
|
0 |
14,864 |
Programming |
|
|
|
1 |
14,471 |
UNIX for Beginners Questions & Answers |
|
|
|
1 |
4,686 |
UNIX for Beginners Questions & Answers |
|
|
|
2 |
4,857 |
UNIX for Beginners Questions & Answers |
|
|
|
6 |
6,691 |
UNIX for Beginners Questions & Answers |
|
|
|
5 |
4,183 |
UNIX for Beginners Questions & Answers |
|
|
|
1 |
5,121 |
UNIX for Beginners Questions & Answers |
|
|
|
6 |
5,825 |
UNIX for Beginners Questions & Answers |
|
|
|
1 |
2,653 |
UNIX for Beginners Questions & Answers |
|
|
|
1 |
2,614 |
UNIX for Beginners Questions & Answers |
|
|
|
5 |
6,718 |
UNIX for Beginners Questions & Answers |
|
|
|
4 |
2,584 |
UNIX for Beginners Questions & Answers |
|
|
|
2 |
11,499 |
Shell Programming and Scripting |
|
|
|
4 |
8,363 |
UNIX for Beginners Questions & Answers |
|
|
|
2 |
13,462 |
Shell Programming and Scripting |
|
|
|
4 |
11,146 |
Shell Programming and Scripting |
|
|
|
6 |
10,801 |
UNIX for Advanced & Expert Users |
Tcl_AllowExceptions(3) Tcl Library Procedures Tcl_AllowExceptions(3)
__________________________________________________________________________________________________________________________________________________
NAME
Tcl_AllowExceptions - allow all exceptions in next script evaluation
SYNOPSIS
#include <tcl.h>
Tcl_AllowExceptions(interp)
ARGUMENTS
Tcl_Interp *interp (in) Interpreter in which script will be evaluated.
_________________________________________________________________
DESCRIPTION
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 termi-
nates with a completion code other than TCL_OK, TCL_ERROR or TCL_RETURN, then Tcl normally converts this into a TCL_ERROR return with an
appropriate message. The particular script evaluation procedures of Tcl that act in the manner are Tcl_EvalObjEx, Tcl_EvalObjv, Tcl_Eval,
Tcl_EvalEx, Tcl_GlobalEval, Tcl_GlobalEvalObj, Tcl_VarEval and Tcl_VarEvalVA.
However, if Tcl_AllowExceptions is invoked immediately before calling one of those a procedures, then arbitrary completion codes are per-
mitted 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.
KEYWORDS
continue, break, exception, interpreter
Tcl 7.4 Tcl_AllowExceptions(3)