Unix and Linux Discussions Tagged with script |
|
Thread / Thread Starter |
Last Post |
Replies |
Views |
Forum |
|
|
|
7 |
3,476 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
1,392 |
Shell Programming and Scripting |
|
|
|
7 |
4,707 |
Shell Programming and Scripting |
|
|
|
2 |
1,882 |
Shell Programming and Scripting |
|
|
|
1 |
2,541 |
Shell Programming and Scripting |
|
|
|
2 |
2,356 |
UNIX for Dummies Questions & Answers |
|
|
|
0 |
2,315 |
What is on Your Mind? |
|
|
|
1 |
3,703 |
UNIX and Linux Applications |
|
|
|
3 |
1,823 |
Shell Programming and Scripting |
|
|
|
3 |
1,574 |
Shell Programming and Scripting |
|
|
|
1 |
5,112 |
UNIX for Dummies Questions & Answers |
|
|
|
3 |
1,496 |
Shell Programming and Scripting |
|
|
|
3 |
1,324 |
Shell Programming and Scripting |
|
|
|
6 |
1,824 |
Shell Programming and Scripting |
|
|
|
1 |
1,559 |
Shell Programming and Scripting |
|
|
|
10 |
3,351 |
Shell Programming and Scripting |
|
|
|
8 |
13,067 |
Answers to Frequently Asked Questions |
|
|
|
0 |
1,783 |
Shell Programming and Scripting |
|
|
|
0 |
1,968 |
UNIX for Advanced & Expert Users |
|
|
|
3 |
2,073 |
Shell Programming and Scripting |
|
|
|
1 |
5,894 |
Shell Programming and Scripting |
|
|
|
2 |
4,957 |
Shell Programming and Scripting |
|
|
|
9 |
13,547 |
UNIX for Dummies Questions & Answers |
|
|
|
38 |
7,180 |
Shell Programming and Scripting |
|
|
|
2 |
8,005 |
Shell Programming and Scripting |
|
|
|
7 |
3,056 |
Shell Programming and Scripting |
|
|
|
4 |
1,546 |
Shell Programming and Scripting |
|
|
|
4 |
3,079 |
Shell Programming and Scripting |
|
|
|
12 |
4,822 |
Shell Programming and Scripting |
|
|
|
8 |
3,305 |
Shell Programming and Scripting |
|
|
|
10 |
5,032 |
Shell Programming and Scripting |
|
|
|
1 |
2,342 |
Shell Programming and Scripting |
|
|
|
1 |
3,058 |
Programming |
|
|
|
2 |
1,743 |
Shell Programming and Scripting |
|
|
|
1 |
6,137 |
Shell Programming and Scripting |
|
|
|
12 |
3,295 |
Shell Programming and Scripting |
|
|
|
1 |
7,206 |
Shell Programming and Scripting |
|
|
|
4 |
4,996 |
Shell Programming and Scripting |
|
|
|
3 |
3,077 |
Shell Programming and Scripting |
|
|
|
0 |
3,542 |
Shell Programming and Scripting |
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)