No registered users in community xowiki
in last 10 minutes
in last 10 minutes
[Xotcl] seachDefaults?
From: Kristoffer Lawson <setok_at_scred.com>
Date: Tue, 10 Aug 2010 01:38:12 +0300
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.
Date: Tue, 10 Aug 2010 01:38:12 +0300
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/