No registered users in community xowiki
in last 10 minutes
in last 10 minutes
Re: [Xotcl] Namespaces and Xotcl
From: Shishir Ramam <sramam_at_gmail.com>
Date: Sun, 29 Oct 2006 07:23:13 -0700
Kristoffer,
Thanks that was it!
-shishir
On 10/29/06, Kristoffer Lawson <setok_at_fishpool.com> wrote:
>
>
> On 29 Oct 2006, at 03:54, Shishir Ramam wrote:
>
> > Hi,
> > Was wondering why it's not possible to import namespaces when XOTcl
> > objects are involved.
> > The shortest example that I could rustle up is included below.
> > Help in understanding what prevents this from working is much
> > appreciated.
>
> I didn't test your example, but could it be because you did not
> export 'Foo' from the namespace?
>
> Ie. "namespace export Foo" could possibly help.
>
> / http://www.fishpool.com/~setok/
>
>
Date: Sun, 29 Oct 2006 07:23:13 -0700
Kristoffer,
Thanks that was it!
-shishir
On 10/29/06, Kristoffer Lawson <setok_at_fishpool.com> wrote:
>
>
> On 29 Oct 2006, at 03:54, Shishir Ramam wrote:
>
> > Hi,
> > Was wondering why it's not possible to import namespaces when XOTcl
> > objects are involved.
> > The shortest example that I could rustle up is included below.
> > Help in understanding what prevents this from working is much
> > appreciated.
>
> I didn't test your example, but could it be because you did not
> export 'Foo' from the namespace?
>
> Ie. "namespace export Foo" could possibly help.
>
> / http://www.fishpool.com/~setok/
>
>
-- The point of living and of being an optimist, is to be foolish enough to believe the best is yet to come. - Peter Ustinov