On Wed, 28 Jun 2000, Frank Krahmer wrote:
> I have a question regarding access of global variables :
>
> I have two tcl-scripts :
>
> 1.) init.tcl :
>
> package require java
> proc init {} {
> # create global variable
> set teststring [java::new String "abcabc"]
> }
>
> 2.) access
I have a question regarding access of global variables :
I have two tcl-scripts :
1.) init.tcl :
package require java
proc init {} {
# create global variable
set teststring [java::new String "abcabc"]
}
2.) access.tcl :
package require java
proc access {} {
set resstr