Manual Pages for UNIX Darwin command on man AllowExc
MyWebUniversity

Manual Pages for UNIX Darwin command on man AllowExc

TclAllowExceptions(3) Tcl Library Procedures TclAllowExceptions(3)

NAME

TclAllowExceptions - allow all exceptions in next script evaluation

SYNOPSIS

##iinncclluuddee <>

TTccllAAlllloowwEExxcceeppttiioonnss(interp) AARRGGUUMMEENNTTSS TclInterp *interp (in) Interpreter in which script will be evaluated.

DESCRIPTION

If a script is evaluated at top-level (i.e. no other scripts are pend-

ing evaluation when the script is invoked), and if the script termi-

nates with a completion code other than TCLOK, TCLERROR or

TCLRETURN, then Tcl normally converts this into a TCLERROR return

with an appropriate message. The particular script evaluation proce-

dures of Tcl that act in the manner are TTccllEEvvaallOObbjjEExx, TTccllEEvvaallOObbjjvv, TTccllEEvvaall, TTccllEEvvaallEExx, TTccllGGlloobbaallEEvvaall, TTccllGGlloobbaallEEvvaallOObbjj, TTccllVVaarrEEvvaall and TTccllVVaarrEEvvaallVVAA. However, if TTccllAAlllloowwEExxcceeppttiioonnss is invoked immediately before calling

one of those a procedures, then arbitrary completion codes are permit-

ted from the script, and they are returned without modification. This is useful in cases where the caller can deal with exceptions such as TCLBREAK or TCLCONTINUE in a meaningful way. KKEEYYWWOORRDDSS continue, break, exception, interpreter

Tcl 7.4 TclAllowExceptions(3)




Contact us      |      About us      |      Term of use      |       Copyright © 2000-2019 MyWebUniversity.com ™