summaryrefslogtreecommitdiffstats
path: root/doc/GetIndex.3
diff options
context:
space:
mode:
authordkf <donal.k.fellows@manchester.ac.uk>2008-10-19 16:22:20 (GMT)
committerdkf <donal.k.fellows@manchester.ac.uk>2008-10-19 16:22:20 (GMT)
commit89675f56467f3a8c563caaf05cbd38f46feabfe2 (patch)
treeefef6375c3ed01e45afde70a90cd08055df9b724 /doc/GetIndex.3
parent103fdf84aa05fef3d37b5a2178fc75eefe64375b (diff)
downloadtcl-89675f56467f3a8c563caaf05cbd38f46feabfe2.zip
tcl-89675f56467f3a8c563caaf05cbd38f46feabfe2.tar.gz
tcl-89675f56467f3a8c563caaf05cbd38f46feabfe2.tar.bz2
Improve documentation of [tcl::prefix].
Diffstat (limited to 'doc/GetIndex.3')
-rw-r--r--doc/GetIndex.37
1 files changed, 2 insertions, 5 deletions
diff --git a/doc/GetIndex.3 b/doc/GetIndex.3
index c0cf623..7d138eb 100644
--- a/doc/GetIndex.3
+++ b/doc/GetIndex.3
@@ -4,7 +4,7 @@
'\" See the file "license.terms" for information on usage and redistribution
'\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.
'\"
-'\" RCS: @(#) $Id: GetIndex.3,v 1.23 2008/10/04 11:04:42 nijtmans Exp $
+'\" RCS: @(#) $Id: GetIndex.3,v 1.24 2008/10/19 16:22:20 dkf Exp $
'\"
.so man.macros
.TH Tcl_GetIndexFromObj 3 8.1 Tcl "Tcl Library Procedures"
@@ -51,7 +51,6 @@ operation. The only bit that is currently defined is \fBTCL_EXACT\fR.
The index of the string in \fItablePtr\fR that matches the value of
\fIobjPtr\fR is returned here.
.BE
-
.SH DESCRIPTION
.PP
This procedure provides an efficient way for looking up keywords,
@@ -95,9 +94,7 @@ array of characters at \fItablePtr\fR+\fIoffset\fR bytes, etc.)
This is particularly useful when processing things like
\fBTk_ConfigurationSpec\fR, whose string keys are in the same place in
each of several array elements.
-
.SH "SEE ALSO"
-Tcl_WrongNumArgs
-
+prefix(n), Tcl_WrongNumArgs(3)
.SH KEYWORDS
index, object, table lookup