Tcl Source Code

Artifact [2a37ccff53]
Login

Artifact 2a37ccff53ec608832c54ff51512c620709b3686:

Attachment "tclvars.diff" to ticket [1065732fff] added by davidw 2004-11-13 19:57:23.
Index: tclvars.n
===================================================================
RCS file: /cvsroot/tcl/tcl/doc/tclvars.n,v
retrieving revision 1.18
diff -u -r1.18 tclvars.n
--- tclvars.n	27 Oct 2004 14:43:54 -0000	1.18
+++ tclvars.n	13 Nov 2004 12:53:16 -0000
@@ -337,9 +337,14 @@
 bug fixes that retain backward compatibility.
 The value of this variable is returned by the \fBinfo tclversion\fR
 command.
+.PP
+In addition to these variables, which are managed by the Tcl library,
+The \fBtclsh\fR executable creates a few more which are often useful:
+\fBargc\fR, \fBargv\fR, \fBargv0\fR, \fBtcl_interactive\fR and
+\fBtcl_prompt1\fR are all documented in the tclvars man page.
 
 .SH "SEE ALSO"
-eval(n)
+eval(n), tclsh(n)
 
 .SH KEYWORDS
 arithmetic, bytecode, compiler, error, environment, POSIX, precision, subprocess, variables