View Single Post
Old 04-07-2004, 11:40 AM  
mog-on
Junior Member
 
Join Date: Jun 2003
Posts: 20
Default

You can use your tcl's package wherever they are.

You just have to set correctly 'auto_path' before 'package require' using 'lappend auto_path MyLibPath'.

MyLibPath must contain a correct 'pkgIndex.tcl' which can be generated using the command 'pkg_mkIndex' (refer to tcl doc for details)

'source' works obviously ... but this is dirty
mog-on is offline   Reply With Quote