summaryrefslogtreecommitdiffstats
path: root/doc/source.n
diff options
context:
space:
mode:
authorhobbs <hobbs>2000-09-06 16:56:22 (GMT)
committerhobbs <hobbs>2000-09-06 16:56:22 (GMT)
commitbd320fcf2b9943b549aa4c15018a87325bec5901 (patch)
tree2a9e86e2934ae36236883607df5b357dd97eb4b9 /doc/source.n
parenta8b81082d72f94260f0c9f93c2a21be6980d57ad (diff)
downloadtcl-bd320fcf2b9943b549aa4c15018a87325bec5901.zip
tcl-bd320fcf2b9943b549aa4c15018a87325bec5901.tar.gz
tcl-bd320fcf2b9943b549aa4c15018a87325bec5901.tar.bz2
* doc/source.n:
* doc/Eval.3: added extra note about how to safe use ^Z in code, as it is now a cross-platform (was just Windows) EOF char.
Diffstat (limited to 'doc/source.n')
-rw-r--r--doc/source.n5
1 files changed, 4 insertions, 1 deletions
diff --git a/doc/source.n b/doc/source.n
index 6a78622..38b71b5 100644
--- a/doc/source.n
+++ b/doc/source.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: source.n,v 1.3 2000/05/11 00:16:52 hobbs Exp $
+'\" RCS: @(#) $Id: source.n,v 1.4 2000/09/06 16:56:22 hobbs Exp $
'\"
.so man.macros
.TH source n "" Tcl "Tcl Built-In Commands"
@@ -38,6 +38,9 @@ The end-of-file character for files is '\\32' (^Z) for all platforms.
The source command will read files up to this character. This
restriction does not exist for the \fBread\fR or \fBgets\fR commands,
allowing for files containing code and data segments (scripted documents).
+If you require a ``^Z'' in code for string comparison, you can use
+``\\032'' or ``\\u001a'', which will be safely substituted by the Tcl
+interpreter into ``^Z''.
.VE 8.4
.PP
The \fI\-rsrc\fR and \fI\-rsrcid\fR forms of this command are only