Unix and Linux Discussions Tagged with script |
|
Thread / Thread Starter |
Last Post |
Replies |
Views |
Forum |
|
|
|
2 |
4,628 |
UNIX for Beginners Questions & Answers |
|
|
|
1 |
3,625 |
UNIX for Beginners Questions & Answers |
|
|
|
3 |
10,042 |
Shell Programming and Scripting |
|
|
|
3 |
3,959 |
UNIX for Beginners Questions & Answers |
|
|
|
0 |
15,414 |
UNIX for Beginners Questions & Answers |
|
|
|
5 |
17,574 |
Shell Programming and Scripting |
|
|
|
10 |
8,728 |
Shell Programming and Scripting |
|
|
|
4 |
4,633 |
UNIX for Beginners Questions & Answers |
|
|
|
2 |
4,751 |
UNIX for Beginners Questions & Answers |
|
|
|
6 |
5,935 |
UNIX for Beginners Questions & Answers |
|
|
|
5 |
4,749 |
UNIX for Beginners Questions & Answers |
|
|
|
1 |
3,950 |
UNIX for Beginners Questions & Answers |
|
|
|
6 |
6,086 |
Shell Programming and Scripting |
|
|
|
6 |
3,241 |
UNIX for Beginners Questions & Answers |
|
|
|
3 |
3,301 |
UNIX for Beginners Questions & Answers |
|
|
|
4 |
3,005 |
UNIX for Beginners Questions & Answers |
|
|
|
7 |
4,189 |
UNIX for Beginners Questions & Answers |
|
|
|
6 |
3,674 |
UNIX for Beginners Questions & Answers |
|
|
|
2 |
7,320 |
Answers to Frequently Asked Questions |
|
|
|
3 |
7,085 |
Answers to Frequently Asked Questions |
|
|
|
0 |
3,906 |
UNIX for Beginners Questions & Answers |
|
|
|
2 |
5,748 |
Shell Programming and Scripting |
|
|
|
1 |
4,861 |
UNIX for Beginners Questions & Answers |
|
|
|
2 |
6,382 |
Shell Programming and Scripting |
|
|
|
2 |
4,152 |
UNIX for Beginners Questions & Answers |
|
|
|
2 |
9,598 |
Shell Programming and Scripting |
|
|
|
2 |
11,179 |
Shell Programming and Scripting |
|
|
|
2 |
9,774 |
Shell Programming and Scripting |
|
|
|
8 |
2,915 |
UNIX for Beginners Questions & Answers |
|
|
|
15 |
3,956 |
UNIX for Beginners Questions & Answers |
|
|
|
3 |
2,783 |
UNIX for Beginners Questions & Answers |
|
|
|
3 |
10,965 |
Shell Programming and Scripting |
|
|
|
2 |
12,978 |
Shell Programming and Scripting |
|
|
|
0 |
3,661 |
UNIX for Beginners Questions & Answers |
|
|
|
2 |
2,900 |
UNIX for Beginners Questions & Answers |
|
|
|
1 |
2,513 |
UNIX for Beginners Questions & Answers |
|
|
|
2 |
2,637 |
UNIX for Beginners Questions & Answers |
|
|
|
5 |
12,453 |
Shell Programming and Scripting |
|
|
|
2 |
3,224 |
UNIX for Beginners Questions & Answers |
|
|
|
14 |
3,868 |
UNIX for Beginners Questions & Answers |
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)