On Thu, 28 Oct 1999, Thomas McKay wrote:
It just is. This was the biggest and most difficult change made when
moving from the 1.0 to 1.1 version. My paper from the Tcl 98 conf
goes into more detail about it. See
http://www-users.cs.umn.edu/~dejong/tcl/paper.html section 5.1 for
a good description
Ahh, I remember hearing this from you in the past. However, as then, I
still don't get why it's bad to use the "most derived" class. Why wouldn't
you want to give the user access to the DerivedFromHashtable (to use the
example in the docs)? What if there are methods or fields in this derived
c
On Thu, 28 Oct 1999, Thomas McKay wrote:
> How would I do it in Java? This is what I have now...
ACK, NO! Do not call this.getClass() to get the second argument
to the ReflectObject.newInstance() method. You need to use the
actual Java Class object that the instance will be reflected as.
For in
How would I do it in Java? This is what I have now...
tclObject = ReflectObject.newInstance( interp,
this.getClass(), this );
tclObject.preserve();
Would it be as simple as
interp.renameCommand( tclObject.toString(), "rect20" );
Wou
gt; -Original Message-
> > From: Moses DeJong [mailto:[EMAIL PROTECTED]]
> > Sent: Wednesday, October 27, 1999 9:43 PM
> > To: [EMAIL PROTECTED]
> > Cc: Jacl
> > Subject: [Tcl Java] Re: [Tcl Java] more 1.2.4 questions
> >
> >
> > On Wed, 27 Oct 1999,
nds. I'm not an experienced traditional-Tcl
user so it's doubtful I'd notice subtle things not working.
> -Original Message-
> From: Moses DeJong [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, October 27, 1999 9:43 PM
> To: [EMAIL PROTECTED]
> Cc: Jacl
> Sub
On Wed, 27 Oct 1999, Thomas McKay wrote:
Well, you can rename reflect objects now (like java0x1)
but it is a little tricky because you can not use the
variable in a way that changes the InternalRep and
then use it like a Java object again. This is
actually the same as using a typed null reference
I believe there is a way now to associate a name with ReflectObjects
although I've long since forgotten what it is. Anyone help?
Second, does namespace work completely?
Thanks!
---
Thomas McKay
Project Leader
Microcosm Technologies, Inc.
mailto:[EMAIL PROTECTED]
-