Tyson> I haven't had very much exprience with programing in
Tyson> tcl/tk nor tkined. But I am having trouble in creating a new
Tyson> type of link. I will prirate of lot of Juergen's code.
Tyson> The problem is that I cannot get Tool.tcl to read the global
Tyson> arrays in my script. I used ip_discover.tcl as the base for
Tyson> my script. I have tried to run my script before trying to access
Tyson> the arrays
The Tool.tcl file defines how the Tkined mouse bindings work. It is
internal to Tkined. The ip_discover.tcl script (like any script that
extends Tkined) runs as a separate process that communicates with
Tkined via a simple protocol. The protocol is hidden by the `ined'
command. Of course, creating a global variable in one of these scripts
has no effects on the internals of Tkined which is running as a
separate process. I consider this a feature because it makes sure that
scripts can't mess around with Tkined internals.
I am not sure if this answers your question.
Juergen
-- Juergen Schoenwaelder schoenw@cs.utwente.nl http://www.cs.utwente.nl/~schoenw Computer Science Department, University of Twente, (Fax: +31-53-489-3247) P.O. Box 217, NL-7500 AE Enschede, The Netherlands. (Tel. +31-53-489-3678)