[Xotcl] alloc not an instproc

Kristoffer Lawson setok@fishpool.com
Sat, 13 Jan 2001 17:03:06 +0200 (EET)


According to the XOTcl language reference the alloc method is an instproc
of Class, yet:

% Class Foo
Foo
% Foo alloc bar
alloc
%

Ie. the instance of Class called Foo does not recognise the alloc method,
and creates an object named alloc instead. If alloc is actually a proc of
Class, is there any way to avoid the normal create procedure in the code
above?

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