in last 10 minutes
Re: [Xotcl] proper way to access xotcl classes
- This message: [ Message body ] [ More options (top, bottom) ]
- Related messages: [ Next message ] [ Previous message ] [ In reply to ] [ Next in thread ] [ Replies ]
- Contemporary messages sorted: [ by date ] [ by thread ] [ by subject ] [ by author ] [ by messages with attachments ]
Date: Wed, 7 May 2008 13:20:18 -0500
Makes sense. Thank you for the help.
On Wed, May 7, 2008 at 1:15 PM, Kristoffer Lawson <setok_at_scred.com> wrote:
>
> On 7 May 2008, at 21:09, Matthew Smith wrote:
>
> Thank you for the help.
> >
> > Now I am getting another error I don't understand.
> >
> > invalid command name "my".
> >
>
> "my" is probably in the xotcl namespace. When I'm coding with XOTcl I
> always start with the following:
>
>
> package require XOTcl
> namespace import xotcl::*
>
> Then I have direct access to all XOTcl commands:
>
> Class Stack
>
> Stack instproc init {} {
> my instvar things
> # ...
>
> }
>
> / http://www.scred.com/
> / http://www.fishpool.com/~setok/<http://www.fishpool.com/%7Esetok/>
>
>
>
Received on Wed May 07 2008 - 20:20:02 CEST
This archive was generated by hypermail 2.2.0 : Thu Nov 06 2008 - 11:10:48 CET