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(tclInterp.getResult().toString());
> catch (TclException te) {System.out.println(te);}
I dont know if it's work with a script like
proc hello {} {
puts "hello world"
}
but i m sure it must work with a script like
proc hello {} {
return "hello world"
}
philippe - france
----------------------------------------------------------------
The TclJava mailing list is sponsored by WebNet Technologies.
To subscribe: send mail to [EMAIL PROTECTED]
with the word SUBSCRIBE as the subject.
To unsubscribe: send mail to [EMAIL PROTECTED]
with the word UNSUBSCRIBE as the subject.
To send to the list, send email to '[EMAIL PROTECTED]'.
A list archive is at: http://www.findmail.com/listsaver/tcldallas/