diff options
author | dkf <donal.k.fellows@manchester.ac.uk> | 2004-10-27 09:36:58 (GMT) |
---|---|---|
committer | dkf <donal.k.fellows@manchester.ac.uk> | 2004-10-27 09:36:58 (GMT) |
commit | cd7e7ec95e76bcb5bf66d7cc9e6d60aad70dba07 (patch) | |
tree | 2f66883fc243d05145536a48036f61275d482016 /doc/catch.n | |
parent | dfe0bb63c25ec4b9669b67071a6540448d5a7379 (diff) | |
download | tcl-cd7e7ec95e76bcb5bf66d7cc9e6d60aad70dba07.zip tcl-cd7e7ec95e76bcb5bf66d7cc9e6d60aad70dba07.tar.gz tcl-cd7e7ec95e76bcb5bf66d7cc9e6d60aad70dba07.tar.bz2 |
Many minor doc fixes
Diffstat (limited to 'doc/catch.n')
-rw-r--r-- | doc/catch.n | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/doc/catch.n b/doc/catch.n index 4414893..54eb35c 100644 --- a/doc/catch.n +++ b/doc/catch.n @@ -6,7 +6,7 @@ '\" See the file "license.terms" for information on usage and redistribution '\" of this file, and for a DISCLAIMER OF ALL WARRANTIES. '\" -'\" RCS: @(#) $Id: catch.n,v 1.11 2004/09/18 17:01:06 dkf Exp $ +'\" RCS: @(#) $Id: catch.n,v 1.12 2004/10/27 09:36:58 dkf Exp $ '\" .so man.macros .TH catch n "8.5" Tcl "Tcl Built-In Commands" @@ -80,12 +80,10 @@ above. .VE 8.5 .SH EXAMPLES - The \fBcatch\fR command may be used in an \fBif\fR to branch based on the success of a script. - .CS -if { [catch {open $someFile w} fid] } { +if { [\fBcatch\fR {open $someFile w} fid] } { puts stderr "Could not open $someFile for writing\\n$fid" exit 1 } |