No registered users in community xowiki
in last 10 minutes
in last 10 minutes
[Xotcl] info not working?
From: Kristoffer Lawson <setok_at_fishpool.com>
Date: Thu, 2 Sep 2004 21:55:11 +0300 (EEST)
% package require XOTcl
1.3
% xotcl::Class Foo
::Foo
% Foo instproc bar {a} {puts $a}
% Foo ob
::ob
% ob info args bar
% ob info body bar
Or have I misunderstood something about what should be going on? I would
assume args to return 'a' and body to return 'puts $a'?
Do they only work on procs? Does that not slightly go against the 'slot'
idea?
/ http://www.fishpool.com/~setok/
Date: Thu, 2 Sep 2004 21:55:11 +0300 (EEST)
% package require XOTcl
1.3
% xotcl::Class Foo
::Foo
% Foo instproc bar {a} {puts $a}
% Foo ob
::ob
% ob info args bar
% ob info body bar
Or have I misunderstood something about what should be going on? I would
assume args to return 'a' and body to return 'puts $a'?
Do they only work on procs? Does that not slightly go against the 'slot'
idea?
/ http://www.fishpool.com/~setok/