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)
commitc892bc1f1daec15f2ef0cd5e4a83f1b2a6640843 (patch)
tree4359efe7f8e3b41a4c05df4fa05ff1e36b7efd93 /doc
parent2e4ba038175b3e406ad716bae335314c031e138f (diff)
downloadtcl-c892bc1f1daec15f2ef0cd5e4a83f1b2a6640843.zip
tcl-c892bc1f1daec15f2ef0cd5e4a83f1b2a6640843.tar.gz
tcl-c892bc1f1daec15f2ef0cd5e4a83f1b2a6640843.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