I am not sure if this is what you are talking about, but did you try
something like this?
package require java
# create String[][] array, just like calling "new String[2][2]" in Java
set arr [java::new {String[][]} {2 2} {{one two} {three four}}]
set inst [java::new YOURCLASS]
$inst setResultSet $arr
mo
On Mon, 31 May 1999, Marcel Ruff wrote:
> Hi,
> a beginner qeustion:
>
> How do i (performant) transfer a double string array from a TCL script
> to Java, eg
> i want to call the following Java method from Tcl:
>
> public void setResultSet(String [][] data)
>
> Thanks for any hint
>
> Marcel
>
> (I query a database in C++ and want to transfer the results via Tcl to
> Java)
>
> ----------------------------------------------------------------
> 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/
>
----------------------------------------------------------------
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/