On Mon, 17 Feb 1997, Lownds, Tony wrote:

> I have a seperate tcl script with a bunch of procedures in it; if I 
> source the tcl file in the init procedure, all of the code gets sucked 
> into the vtcl-generated script. 
> 
> Is there a workaround? 
> 

Try sourcing your file from within the init proc using uplevel. Eg:

uplevel source myinclude.tcl

I just tried a very quick test which appeared to work ok.

+----------------------+---+
| Ross Johnson         |   | E-Mail: [EMAIL PROTECTED]
| Info Sciences and Eng|___|
| University of Canberra   | FAX:    +61 6 2015227
| PO Box 1                 |
| Belconnen  ACT    2616   | WWW:    http://willow.canberra.edu.au/~rpj/
| AUSTRALIA                |
+--------------------------+


Reply via email to