[Tcl Java] Re: Question about the java variables.

1999-03-11 Thread Sachin Thatte
Thanks for the insight. With my short experience with JACL, I feel the need to have a mode where java variables will be automatically "locked". No doubt, this will prevent garbage collection and will be memory intensive but it will typically be useful for quick and short interactive sessions. Thi

[Tcl Java] Re: Question about the java variables.

1999-03-11 Thread Moses DeJong
This is one of the implementation details that you just have to learn. The only reason you might want to do this is to quickly type in commands without using variables. If you really need to do this you can use the java::lock command to save a reference that is not stored in a variable. If you do