Hi,

This is really strange. I've just tried it again, to get the error message and it has worked?

What WAS happening was that if I had bound my own functor to the variable [Str] and then used for example {String.tokens}, I received an error message saying something along the lines of illegal field selection, and the expected values were the functions from MY functor, not of the standard {String}. In other words it appeared that the system thought I was calling my functor's functions using {String.--------}. But, when I changed the binding of my functor to some other variable name, the problem disappeared.

I don't know if i'm happy the problem hasn't reoccurred or if i'm worried why it hasn't.

Whilst I'm here, does anyone know how to add extra Tk widgets?
I found an old post talking about adding a spinbox widget which claimed it was very easy and might be possible in QTk too. But it doesn't seem to be that easy. I want to use the TkTable widget but I can't figure out how.

Regards

Mark



Torsten Anders wrote:
Dear Mark,

I have no problem binding a functor (actually, a module) to the variable Str and then using the predefined String. What is your error message?

Best
Torsten


--
Mark Richardson
Final year undergraduate
University of Teesside
_________________________________________________________________________________
mozart-users mailing list                               
[email protected]
http://www.mozart-oz.org/mailman/listinfo/mozart-users

Reply via email to