[Xotcl] seachDefaults?

Kristoffer Lawson setok at scred.com
Tue Aug 10 00:38:12 CEST 2010

Gustaf (or others working on the core), you didn't say if this was an oversight of the current XOTcl documentation, or if somethins is missing on the [searchDefaults] stuff.

Check here: http://media.wu-wien.ac.at/doc/langRef-xotcl.html#Class-create

It states that the [searchDefaults] method is called to set default values for instance attributes (is this referring to parameter defaults as well?). However such a method does not exist for objects.

I would like to be able to separate allocation, defaults and initialisation (via constructor) in object instantiation.

Kristoffer Lawson, Co-Founder, Scred // http://www.scred.com/

More information about the Xotcl mailing list