Re: TclOO and defining a "variable" method



On 26 mar, 11:49, "Donal K. Fellows"
<donal.k.fell...@xxxxxxxxxxxxxxxx> wrote:
On 25 Mar, 19:55, Fredrik Karlsson <dargo...@xxxxxxxxx> wrote:

I am having troubles defining a "variable" method in a class (in order
to agree with an old API in a new implementation) and I got very
strange errors. I guess it would have to do with "variable" already
being implemented for oo::class or something similar.. but is there
any way around this?

Yes, but I'll need to know what you're trying to do more exactly
first. A code example which demonstrates the problem neatly would help
a lot.

Donal.

Hi,

In the end I found that what I thought was caused by me defining a
"variable" method was in cfact caused by something different. I was
just fooled by the error message.

On a related note, where do I get good information concerning the
differnce between "my variable" and "variable" in TclOO. When and why
should you use the two versions?

/Fredrik
.