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)
commitef7dba72f31611408a3994373a4257554c4a0d05 (patch)
tree4359efe7f8e3b41a4c05df4fa05ff1e36b7efd93 /doc
parent5323a387bb45cc460c950494f26fd34ac6913562 (diff)
downloadtcl-ef7dba72f31611408a3994373a4257554c4a0d05.zip
tcl-ef7dba72f31611408a3994373a4257554c4a0d05.tar.gz
tcl-ef7dba72f31611408a3994373a4257554c4a0d05.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