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

[Xotcl] alloc not an instproc

From: Kristoffer Lawson <setok_at_fishpool.com>
Date: 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_at_fishpool.com | - - --+------
             |-- Fishpool Creations Ltd - / |
             +-------- = - - - = --------- /~setok/