TOC PREV NEXT INDEX

 


Wrapping Libraries of Tcl Scripts


You must take special steps to auto-load Tcl script libraries that you wrap with your application. For example, if a library consists of the files help.tcl and display.tcl, and they and the tclIndex file are stored in /usr/local/lib/common, an unwrapped Tcl script that used this library would contain the following command to auto-load the library:


lappend auto_path /usr/local/lib/common

This command would fail to auto-load your library in a wrapped application because of the absolute pathname. You can correct this problem in one of two ways:




http://www.ajubasolutions.com
Voice: (650) 210-0100
Fax: (650) 210-0101
support@ajubasolutions.com
TOC PREV NEXT INDEX