Unix and Linux Discussions Tagged with script |
|
Thread / Thread Starter |
Last Post |
Replies |
Views |
Forum |
|
|
|
2 |
5,401 |
UNIX for Beginners Questions & Answers |
|
|
|
3 |
2,802 |
UNIX for Beginners Questions & Answers |
|
|
|
3 |
13,943 |
Shell Programming and Scripting |
|
|
|
7 |
10,760 |
Shell Programming and Scripting |
|
|
|
2 |
1,447 |
UNIX for Beginners Questions & Answers |
|
|
|
1 |
3,273 |
UNIX for Beginners Questions & Answers |
|
|
|
2 |
11,033 |
Shell Programming and Scripting |
|
|
|
3 |
2,628 |
UNIX for Beginners Questions & Answers |
|
|
|
4 |
2,158 |
UNIX for Beginners Questions & Answers |
|
|
|
8 |
1,988 |
UNIX for Beginners Questions & Answers |
|
|
|
2 |
3,197 |
UNIX for Beginners Questions & Answers |
|
|
|
16 |
3,604 |
UNIX for Beginners Questions & Answers |
|
|
|
3 |
16,944 |
Shell Programming and Scripting |
|
|
|
8 |
2,751 |
UNIX for Beginners Questions & Answers |
|
|
|
1 |
3,210 |
UNIX for Beginners Questions & Answers |
|
|
|
1 |
6,724 |
UNIX for Advanced & Expert Users |
|
|
|
8 |
2,930 |
UNIX for Beginners Questions & Answers |
|
|
|
15 |
4,818 |
UNIX for Beginners Questions & Answers |
|
|
|
3 |
4,200 |
UNIX for Beginners Questions & Answers |
|
|
|
6 |
3,025 |
UNIX for Beginners Questions & Answers |
|
|
|
2 |
4,033 |
UNIX for Beginners Questions & Answers |
|
|
|
12 |
2,589 |
UNIX for Beginners Questions & Answers |
|
|
|
7 |
15,020 |
Shell Programming and Scripting |
|
|
|
0 |
8,994 |
Programming |
|
|
|
1 |
9,082 |
UNIX for Beginners Questions & Answers |
|
|
|
1 |
2,723 |
UNIX for Beginners Questions & Answers |
|
|
|
2 |
2,384 |
UNIX for Beginners Questions & Answers |
|
|
|
6 |
3,469 |
UNIX for Beginners Questions & Answers |
|
|
|
5 |
2,190 |
UNIX for Beginners Questions & Answers |
|
|
|
1 |
2,613 |
UNIX for Beginners Questions & Answers |
|
|
|
6 |
3,499 |
UNIX for Beginners Questions & Answers |
|
|
|
1 |
1,879 |
UNIX for Beginners Questions & Answers |
|
|
|
1 |
1,882 |
UNIX for Beginners Questions & Answers |
|
|
|
5 |
3,159 |
UNIX for Beginners Questions & Answers |
|
|
|
4 |
1,577 |
UNIX for Beginners Questions & Answers |
|
|
|
2 |
7,750 |
Shell Programming and Scripting |
|
|
|
4 |
4,766 |
UNIX for Beginners Questions & Answers |
|
|
|
2 |
9,823 |
Shell Programming and Scripting |
|
|
|
4 |
7,904 |
Shell Programming and Scripting |
|
|
|
6 |
5,935 |
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)