[Tcl Java] RE: [Tcl Java] RE: [Tcl Java] RE: [Tcl Java] RE: [Tcl Java] Re: [ Tcl Java] Re: [ Tcl Java] A Tcl or TclBlend problem?

2000-06-29 Thread Jiang Wu
> -Original Message- > From: Mo DeJong [mailto:[EMAIL PROTECTED]] > > So add it. Would something like this work? I am not sure where > you would get the executable name, perhaps you can just use "java". Well that is the problem. The executable is "java", which does not help because you

[Tcl Java] RE: [Tcl Java] RE: [Tcl Java] RE: [Tcl Java] RE: [Tcl Java] Re: [ Tcl Java] Re: [ Tcl Java] A Tcl or TclBlend problem?

2000-06-29 Thread Mo DeJong
On Thu, 29 Jun 2000, Jiang Wu wrote: > > > -Original Message- > > From: Mo DeJong [mailto:[EMAIL PROTECTED]] > > > > You are using Tcl blend and Tcl loaded into a JVM right? I get the > > feeling Tcl does not know how to find its startup scripts. What > > happens when you do a "package

[Tcl Java] RE: [Tcl Java] RE: [Tcl Java] RE: [Tcl Java] RE: [Tcl Java] Re: [Tcl Java] Re: [ Tcl Java] A Tcl or TclBlend problem?

2000-06-29 Thread Jiang Wu
> -Original Message- > From: Mo DeJong [mailto:[EMAIL PROTECTED]] > > You are using Tcl blend and Tcl loaded into a JVM right? I get the > feeling Tcl does not know how to find its startup scripts. What > happens when you do a "package require java"? This is strange I have to set the TC

[Tcl Java] RE: [Tcl Java] RE: [Tcl Java] RE: [Tcl Java] Re: [Tcl Java] Re: [ Tcl Java] A Tcl or TclBlend problem?

2000-06-29 Thread Mo DeJong
> > Care to submit some docs patches? We could also use some "Tcl/Java > > in action" examples. Nice little examples that do something > > cool and show how to use the java::* commands would really > > be great. Would anyone be able to help with that? > > Well, I won't be the right person to writ

[Tcl Java] RE: [Tcl Java] Re: [Tcl Java] Re: [Tcl Java] A Tcl or TclBlend problem?

2000-06-28 Thread Jiang Wu
> -Original Message- > From: Dr Wes Munsil [mailto:[EMAIL PROTECTED]] > > Yes, but if you read on you will see that I also tried your proposed > workaround, and it gave the same error. But the script does work under Tcl 8.3.1. I need to point out that my 2nd script is NOT a "workaround".

[Tcl Java] Re: [Tcl Java] Re: [Tcl Java] A Tcl or TclBlend problem?

2000-06-28 Thread Dr Wes Munsil
r Wes Munsil [mailto:[EMAIL PROTECTED]] > > Sent: Wednesday, June 28, 2000 12:16 AM > > To: Jiang Wu > > Cc: [EMAIL PROTECTED] > > Subject: [Tcl Java] Re: [Tcl Java] A Tcl or TclBlend problem? > > > > > > Am I missing something? I do not see this behavior in

[Tcl Java] RE: [Tcl Java] Re: [Tcl Java] A Tcl or TclBlend problem?

2000-06-28 Thread Jiang Wu
error you encountered? -- Jiang Wu [EMAIL PROTECTED] > -Original Message- > From: Dr Wes Munsil [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, June 28, 2000 12:16 AM > To: Jiang Wu > Cc: [EMAIL PROTECTED] > Subject: [Tcl Java] Re: [Tcl Java] A Tcl or TclBlend problem?

[Tcl Java] Re: [Tcl Java] Re: [Tcl Java] A Tcl or TclBlend problem?

2000-06-28 Thread Mo DeJong
On Wed, 28 Jun 2000, Dr Wes Munsil wrote: > Am I missing something? I do not see this behavior in the 8.2.3 Tcl shell: > > % proc fern {} { > set x [java::new String foo] > after 1 "$x toString" > unset x > update > } > % fern > bgerror failed to handle background error. > Original error

[Tcl Java] Re: [Tcl Java] A Tcl or TclBlend problem?

2000-06-28 Thread Dr Wes Munsil
Am I missing something? I do not see this behavior in the 8.2.3 Tcl shell: % proc fern {} { set x [java::new String foo] after 1 "$x toString" unset x update } % fern bgerror failed to handle background error. Original error: invalid command name "java0x1" Error in bgerror: invalid co

[Tcl Java] RE: [Tcl Java] A Tcl or TclBlend problem?

2000-06-23 Thread Jiang Wu
> -Original Message- > From: Mo DeJong [mailto:[EMAIL PROTECTED]] > Sent: Friday, June 23, 2000 3:15 PM > To: Jiang Wu > Cc: [EMAIL PROTECTED] > Subject: Re: [Tcl Java] A Tcl or TclBlend problem? > > You mentioned that doing an after with a list object solved > the problem, > but here yo

[Tcl Java] Re: [Tcl Java] A Tcl or TclBlend problem?

2000-06-23 Thread Mo DeJong
... > I am encountering this problem right now in a different form. I am > constructing an asynchronous callback function inside Java using a TclList > object, {command_name java_obj_1 java_obj_2}. The list contains some Java > objects, which are the arguments to the callback function. However