summaryrefslogtreecommitdiffstats
path: root/doc/CrtCommand.3
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2012-11-09 20:11:35 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2012-11-09 20:11:35 (GMT)
commit3bd3c81555c4dcf32b173945d8adb802a8f6b361 (patch)
treeb8218d3628c1b820b55b71fa9a7694914f521e5a /doc/CrtCommand.3
parentbd6d07883f6ee2874c3e6ba0b64d107e699a0c11 (diff)
parentd677e8a8ae7188b1aebd47c054633273808d5764 (diff)
downloadtcl-3bd3c81555c4dcf32b173945d8adb802a8f6b361.zip
tcl-3bd3c81555c4dcf32b173945d8adb802a8f6b361.tar.gz
tcl-3bd3c81555c4dcf32b173945d8adb802a8f6b361.tar.bz2
merge trunk
Diffstat (limited to 'doc/CrtCommand.3')
-rw-r--r--doc/CrtCommand.312
1 files changed, 6 insertions, 6 deletions
diff --git a/doc/CrtCommand.3 b/doc/CrtCommand.3
index f0a7b43..c921999 100644
--- a/doc/CrtCommand.3
+++ b/doc/CrtCommand.3
@@ -41,18 +41,18 @@ will call \fIproc\fR to process the command.
It differs from \fBTcl_CreateObjCommand\fR in that a new string-based
command is defined;
that is, a command procedure is defined that takes an array of
-argument strings instead of objects.
-The object-based command procedures registered by \fBTcl_CreateObjCommand\fR
+argument strings instead of values.
+The value-based command procedures registered by \fBTcl_CreateObjCommand\fR
can execute significantly faster than the string-based command procedures
defined by \fBTcl_CreateCommand\fR.
-This is because they take Tcl objects as arguments
-and those objects can retain an internal representation that
+This is because they take Tcl values as arguments
+and those values can retain an internal representation that
can be manipulated more efficiently.
-Also, Tcl's interpreter now uses objects internally.
+Also, Tcl's interpreter now uses values internally.
In order to invoke a string-based command procedure
registered by \fBTcl_CreateCommand\fR,
it must generate and fetch a string representation
-from each argument object before the call.
+from each argument value before the call.
New commands should be defined using \fBTcl_CreateObjCommand\fR.
We support \fBTcl_CreateCommand\fR for backwards compatibility.
.PP