You can also rebind stdout
http://ptolemy.eecs.berkeley.edu/~cxh/java/tclblend/println.html
sez
--start--
Hints about
java.lang.System.out.println and Tcl
Blend
Calling println from Tcl Blend
The Tcl Blend code below calls System.err.println
set err [java::field System err]
$err {println Str
Lubos Vrba wrote:
> Thanks for advice, but I just don't know how use it.
> May be I definition of my problem was pure. I'll try to do it better:
> In next.tcl isn't only one puts commands!
i hope :-)
> I don't want tcl script print some messages!
ok, but i suppose you want to retrieve some v
Thanks for advice, but I just don't know how use it.
May be I definition of my problem was pure. I'll try to do it better:
In next.tcl isn't only one puts commands!
I don't want tcl script print some messages!
I dont want to use some procedures in tcl (if it's possible).
Thanks a lot.
I don't know
Lubos Vrba wrote:
> Hello to everybody!
> I've this newbie problem.
> I use java to call tcl script. This script prints something.
> I want to know what this script prints. (create some String(s) with it)
hi lubos!
try this
> try {
> tclInterp.evalFile("next.tcl");}
System.out.println(