View · Search · Index
No registered users in community xowiki
in last 10 minutes

[Xotcl] Probable bug: no method calls with "next" & init

From: Kristoffer Lawson <setok_at_fishpool.com>
Date: Mon, 5 Feb 2001 22:58:48 +0200 (EET)

[~] Class Foo
[~] Foo instproc init {arg} {
puts "arg: $arg"
}
[~] Foo instproc whatever {system} {
puts "sys: $system"
}
[~] Class Bar -superclass Foo
[~] Bar instproc init {} {
next myArg -whatever niceSystem
}
[~] Bar ob
called "next" with too many arguments

         - ---------- = = ---------//--+
         | / Kristoffer Lawson | www.fishpool.fi|.com
         +-> | setok_at_fishpool.com | - - --+------
             |-- Fishpool Creations Ltd - / |
             +-------- = - - - = --------- /~setok/