View Single Post
Old 27th August 2013, 07:32 AM   #3
Geoffm
Junior Member
Member
 
Geoffm's Avatar
 
Join Date: Aug 2013
Location: London UK
Posts: 22
Default Re: Importing other Tcl packages

I found after experiment that if I copied the entire directory TclOO1.0 from the ActiveState installation of Tcl/Tk 8.5 then the command

package require TclOO

does not give an error. I assume that I can then add commands and create scripts using TclOO extensions (which can of course call standard Tcl as used in AC3D). For completeness, the directory resides in this directory IF you have installed Tcl8,5 in /Tcl8.5:

\Tcl8.5\lib\teapot\package\win32-ix86\lib

However this technique did not work for the ITcl extension.
Geoffm is offline   Reply With Quote