summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authordkf <donal.k.fellows@manchester.ac.uk>2015-08-18 12:47:01 (GMT)
committerdkf <donal.k.fellows@manchester.ac.uk>2015-08-18 12:47:01 (GMT)
commit75b0086acd4c18ae0db616f17f5d60d10c942a55 (patch)
tree4359efe7f8e3b41a4c05df4fa05ff1e36b7efd93 /doc
parent7c9a63a9c5dbca07e597dfe984c15247e68b47f9 (diff)
downloadtcl-75b0086acd4c18ae0db616f17f5d60d10c942a55.zip
tcl-75b0086acd4c18ae0db616f17f5d60d10c942a55.tar.gz
tcl-75b0086acd4c18ae0db616f17f5d60d10c942a55.tar.bz2
[d06b029d9d] next(n) documentation examples correction, from Peter Lewerin.
Diffstat (limited to 'doc')
-rw-r--r--doc/next.n4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/next.n b/doc/next.n
index 1ea6eb9..62782e5 100644
--- a/doc/next.n
+++ b/doc/next.n
@@ -122,7 +122,7 @@ oo::class create theSubclass {
}
}
theSubclass create obj
-oo::define obj method example args {
+oo::objdefine obj method example args {
puts "per-object method, args = $args"
\fBnext\fR x {*}$args y
\fBnext\fR
@@ -176,7 +176,7 @@ oo::class create cache {
}
oo::object create demo
-oo::define demo {
+oo::objdefine demo {
mixin cache
method compute {a b c} {
after 3000 \fI;# Simulate deep thought\fR