From: pmarin on
currently I am using this:

method mark {} {
[self object] sweep
}

method sweep {} {
puts hello
}

Any better way?
From: Georgios Petasis on
στις 24/1/2010 15:19, O/H pmarin έγραψε:
> currently I am using this:
>
> method mark {} {
> [self object] sweep
> }
>
> method sweep {} {
> puts hello
> }
>
> Any better way?

method mark {} {
my sweep
}

George
From: pmarin on
On Jan 24, 2:23 pm, Georgios Petasis <peta...(a)iit.demokritos.gr>
wrote:
> στις 24/1/2010 15:19, O/H pmarin έγραψε:
>
> > currently I am using this:
>
> > method mark {} {
> >   [self object] sweep
> > }
>
> > method sweep {} {
> >   puts hello
> > }
>
> > Any better way?
>
>    method mark {} {
>      my sweep
>    }
>
> George

Thanks George, The man pages are beginning to stun me.
From: Gerald W. Lester on
pmarin wrote:
> currently I am using this:
>
> method mark {} {
> [self object] sweep
> }
>
> method sweep {} {
> puts hello
> }
>
> Any better way?

What OO extension are you using?

--
+------------------------------------------------------------------------+
| Gerald W. Lester |
|"The man who fights for his ideals is the man who is alive." - Cervantes|
+------------------------------------------------------------------------+
From: pmarin on
On Jan 24, 9:20 pm, "Gerald W. Lester" <Gerald.Les...(a)cox.net> wrote:
> pmarin wrote:
> > currently I am using this:
>
> > method mark {} {
> >  [self object] sweep
> > }
>
> > method sweep {} {
> >  puts hello
> > }
>
> > Any better way?
>
> What OO extension are you using?
>
> --
> +------------------------------------------------------------------------+
> | Gerald W. Lester                                                       |
> |"The man who fights for his ideals is the man who is alive." - Cervantes|
> +------------------------------------------------------------------------+

TclOO. It needs a decent tutorial.