[tcljava-user] Example program
Brought to you by:
mdejong
From: community h. <hel...@ya...> - 2006-10-09 13:53:56
|
Hi, i'm familiarized with the getting strated section of the web site, but this still does not respond to my needs. What i want is to execute a java program from tcl. This program should modify a variable given in the tcl sript and later display this variable in tcl. In brief i want the following in my tcl script: 1. set a 10 2. execute java program that modifies the a variable to 5 3. puts $a (should give 5) For doing this i need to know how to execute a java program from tcl, and how to access a tcl variable from this program. Thank you __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com |