Should the following work? namespace foo { variable x set x 12 proc y { a } { puts $y } } I get an unrecognized arg foo, should be eval, etc. Looking at the...
Thomas McKay
mckay@...
Nov 3, 1999 1:47 am
434
On Tue, 2 Nov 1999, Thomas McKay wrote: Nope, you need to use "namespace eval {...}" Try this. % namespace eval foo { variable x set x 12 } % set foo::x 12 You...
Moses DeJong
dejong@...
Nov 3, 1999 1:59 am
435
Gotcha. The book I have Tcl/Tk by Welch has examples of namespace w/o the 'eval'. Is the book wrong? It says it describes Tcl 8.0. I just want to know what...
Thomas McKay
mckay@...
Nov 3, 1999 2:41 pm
436
On Wed, 3 Nov 1999, Thomas McKay wrote: The book is wrong in this one example. This is a namespace feature that was changed (in Tcl 8.1 I think). Originally,...
Moses DeJong
dejong@...
Nov 3, 1999 7:58 pm
437
... I thought I recognized your example. Indeed, the original namespace implementation did not require the "eval" keyword, so the very first printing of the...
Brent Welch
welch@...
Nov 3, 1999 8:12 pm
438
Hi all. Check out this URL for an article about Tcl and Java. http://www.sunworld.com/sunworldonline/swol-11-1999/swol-11-jacl.html You might also want to...
Moses DeJong
dejong@...
Nov 3, 1999 9:27 pm
439
... In an earlier application, I did the following to get data specific to a file into its own namespace: namespace eval app { set doc $filename namespace eval...
sang-suan gam
sang-suan.gam@...
Nov 4, 1999 7:46 am
440
Mo DeJong, Scriptics, and I are pleased to announce the final availability of Tcl Blend and Jacl 1.2.5. Binary releases of Tcl Blend are available for Solaris...
Scott Redman
redman@...
Nov 4, 1999 6:11 pm
441
I am sourcing a script that has the following lines in it. Whenever I source it, it gives an error. I am using Jacl 1.2.5. This used to work in Jacl 1.1.1. ...
Trella Christopher-P2...
Chris.Trella@...
Nov 5, 1999 8:57 pm
442
Ah yes, the old \r\n hack rears its ugly head again. The main problem here is that the "fix" in Jacl 1.1 was really just an ugly hack that gave the false...
Moses DeJong
dejong@...
Nov 5, 1999 9:38 pm
443
The history command seems to be disabled on purpose. Is support for this command planned? -- Shawn Boyce QCOM Inc. Email: shawn@... Phone: (732)...
Shawn Boyce
shawn@...
Nov 5, 1999 10:22 pm
444
I was not planning on working on that command myself because it is not a "critical feature". That does not mean you (or someone else) could not implement it...
Moses DeJong
dejong@...
Nov 5, 1999 10:27 pm
445
I fetched the latest tcljava distribution from Scriptics. When I attempt to configure and build it I get: $ /vol/tclsrcsol/tcl82/tcljava/configure...
Larry W. Virden
lvirden@...
Nov 6, 1999 7:24 am
446
This is a very strange problem. It looks like during the ./configure process the @TCLJAVA_BUILD_DIR_NATIVE@ replacement is not getting done. During a normal...
Moses DeJong
dejong@...
Nov 6, 1999 5:44 pm
447
Hi I want to install jacl and Tclblend1.2.5 but I have an error when I want nmake -f makefile.vc shell in TclBlend Microsoft (R) Program Maintenance Utility...
Angelica Ahuactzin La...
is097492@...
Nov 6, 1999 7:45 pm
448
On Sun, 7 Nov 1999, Angelica Ahuactzin Larios wrote:
Did you compile Tcl 8.0.5 with the same debug setting as Tcl Blend?
It looks like Tcl Blend is looking...
Moses DeJong
dejong@...
Nov 6, 1999 8:10 pm
449
I ftp'd tclBlend125-jdk11.zip from the scriptics site. There are no installation instructions, so I extracted the files under c:\program files\tcl. When I run...
David Mosenkis
mosenkis@...
Nov 11, 1999 8:55 pm
450
You need the JDK/JRE bin directory in your PATH. For JDK 1.1 you also need classes.zip in your CLASSPATH. -- Scott ... The TclJava mailing list is sponsored...
Scott Redman
redman@...
Nov 11, 1999 10:15 pm
451
On Thu, 11 Nov 1999, David Mosenkis wrote: As yes, the catch-22 of the binary dist. The binary version is really designed for people that have used Tcl Blend...
Moses DeJong
dejong@...
Nov 11, 1999 10:32 pm
452
I already had JDK bin directory in PATH, and adding classes.zip to CLASSPATH didn't help: % package require java could not find java.dll, you may need to add...
David Mosenkis
mosenkis@...
Nov 11, 1999 11:15 pm
453
I see two jdk 1.1.x directories in your path. The "c:\jdk11\bin" might be the wrong one, check it or remove it from your PATH. I have a feeling that...
Scott Redman
redman@...
Nov 11, 1999 11:23 pm
454
... This warning is generated by the loadtclblend proc inside pkgIndex.tcl. It seems to indicate that your PATH does not include a directory that has a file...
Moses DeJong
dejong@...
Nov 12, 1999 5:09 am
455
... Quickview on tclblend.dll lists the following dll files under "Import Table": tcl82.dll, user32.dll, jvm.dll, msvcrt.dll, kernel32.dll. I don't see a...
David Mosenkis
mosenkis@...
Nov 12, 1999 8:39 pm
456
I think jvm.dll is from the JDK 1.2 binary dist. It sounds like you downloaded the JDK 1.2 tclblend.dll, you need the tclblend.dll compiled for JDK 1.1. That...
Moses DeJong
dejong@...
Nov 12, 1999 9:26 pm
457
I had a bunch of problems recently which have finally been resolved with Mo's help. I'm using jdk1.2.2/tcl8.2.2/tclblend1.2.5 on Windows NT, and found that ...
Vince Darley
vince.darley@...
Nov 12, 1999 9:39 pm
458
What are the costs associated w/ call Extension.loadOnDemand() for the same class but with different command names. Any? Here's what I'm up against: I have...
Thomas McKay
mckay@...
Nov 13, 1999 7:19 am
459
We are using TclBlend 1.2.5 on NT with JDK 1.2.2 with no problems. In fact just installed it on NT this morning and had it up and running in matter of...
schenck
schenck@...
Nov 13, 1999 7:54 am
460
Mo, Thank you for your help. I added the extra debug line, and the problem is indeed that it is failing to find java.dll. In fact, I don't have a java.dll ...
David Mosenkis
mosenkis@...
Nov 13, 1999 7:58 am
461
I double checked with a stock JDK 1.1.8 on windows 95, and it looks like the file file called javai.dll in JDK 1.1.8. It looks like the warning inside...
Moses DeJong
dejong@...
Nov 13, 1999 8:38 am
462
I looked into the problems people were having with the precompiled Tcl Blend 1.2.5 version built for JDK 1.1. First off, Tcl prints a lousy error message when...