Re: How do I access ICTL on my WINDOWS 2000 box?
- From: David Bariod <dbariod@xxxxxxxxxxx>
- Date: Tue, 29 Nov 2005 11:48:24 +0100
On Mon, 28 Nov 2005, ruffy wrote:
> Hi friends,
>
> I got tcl/tk 8.4.9 working ok on my WIN2000 box.
> I've been learning tcl/tk and now want to give ITCL a go.
> What do I add to my tcl scripts to get it to recognize my class
> definitions?
>
> To learn tcl/tk, I've been "sourcing" my created files.
> To now go ahead with ITCL, is it just a matter of adding a "package
> require" command
> - or is it something more complicated?
>
If you are using a binary distribution including the
itcl package (like the excellent! ActiveState one)
you just have to add in your files the following line:
package require Itcl
All itcl commands are in the itcl namespace, so all commands
should be prepended with itcl::
ex: itcl::class, itcl::body, etc ...
> I notice I have the following directory in my tcl library
> C:\Tcl\lib\itcl3.3
>
> Much obliged, thank you.
>
>
------------------------------
David Bariod
For email replace spam by tel
.
- References:
- How do I access ICTL on my WINDOWS 2000 box?
- From: ruffy
- How do I access ICTL on my WINDOWS 2000 box?
- Prev by Date: Re: The latest Tcl85 failed to load extensions that were linked to the tcl85 and tk85.lib
- Next by Date: Re: Packaging Tcl/Tk Application on Windows: Single File Executable
- Previous by thread: Re: How do I access ICTL on my WINDOWS 2000 box?
- Next by thread: passing parameter by reference?
- Index(es):
Relevant Pages
|