TCL Packages
584207Jun 21 2007 — edited Jul 29 2007Hi all
I am trying to set up some TCL packages containing some procedures that I have written, but am getting stymied on how to do this. The tutorial at www.tcl.tk states there are three steps for doing this:
1. Adding a package provide statement to your script.
2. Creating a pkgIndex.tcl file.
3. Installing the package where it can be found by Tcl.
Number 1 is easy, but the other two are giving me some trouble.
I can't figure out where to put my files and how to use pkg_mkindex to generate the index file etc..
Any help is appreciated.
Thanks
Jays :-)