Re: [tcljava-user] Calling Static methods using TclBlend
Brought to you by:
mdejong
From: Mo D. <md...@un...> - 2005-06-30 09:14:32
|
On Wed, 12 Jan 2005 12:54:05 +0000 Seena <sm...@en...> wrote: > Hello, > How to call static methods in a java class from Tcl using Tcl Blend? Use the java::call command defined in the java package. Example: set string [java::call Integer toBinaryString 5] # This will print "result is 101", the binary representation of 5 cheers Mo DeJong |