summaryrefslogtreecommitdiffstats
path: root/doc/object.n
diff options
context:
space:
mode:
authordkf <donal.k.fellows@manchester.ac.uk>2024-07-15 14:29:13 (GMT)
committerdkf <donal.k.fellows@manchester.ac.uk>2024-07-15 14:29:13 (GMT)
commit7e796a8a329db44fd484393c3292c8a5cd4801da (patch)
treed773ca90238761c611045cd2905fb3dd08d6ffd6 /doc/object.n
parent7cb086504f107b8de60f5c8c1c7afddcd0649421 (diff)
downloadtcl-7e796a8a329db44fd484393c3292c8a5cd4801da.zip
tcl-7e796a8a329db44fd484393c3292c8a5cd4801da.tar.gz
tcl-7e796a8a329db44fd484393c3292c8a5cd4801da.tar.bz2
Make [self] work inside [$obj eval]. [91b3a5bb14e6e8ae]
Diffstat (limited to 'doc/object.n')
-rw-r--r--doc/object.n5
1 files changed, 5 insertions, 0 deletions
diff --git a/doc/object.n b/doc/object.n
index df657a9..381b963 100644
--- a/doc/object.n
+++ b/doc/object.n
@@ -64,6 +64,11 @@ The \fBoo::object\fR class supports the following non-exported methods:
This method concatenates the arguments, \fIarg\fR, as if with \fBconcat\fR,
and then evaluates the resulting script in the namespace that is uniquely
associated with \fIobj\fR, returning the result of the evaluation.
+.RS
+.PP
+Note that object-internal commands such as \fBmy\fR and \fBself\fR can be
+invoked in this context.
+.RE
.TP
\fIobj \fBunknown ?\fImethodName\fR? ?\fIarg ...\fR?
.