Dear Raphael,
I'm 99.99% certain I didn't do that but anything is possible. I am
however 100% certain that I tried halting oz a number of times with Str
as the variable because I thought there might be something 'hanging
around' in the background.
I'm quite happy though to forget it ever happened and assume it was me -
it makes things a lot simpler.
Thanks for your help
Regards
Mark
Raphael Collet wrote:
Dear Mark,
You probably redeclared String, and then revised your code to use Str
instead. This kind of mistake is quite common when you play with the
interactive development environment. When you are in doubt, stop the
engine (see the last entry in the Oz menu), then restart it and
compile your code.
Cheers,
raph
On Mon, Sep 8, 2008 at 6:50 PM, mark <[EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]>> wrote:
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
------------------------------------------------------------------------
_________________________________________________________________________________
mozart-users mailing list
[email protected]
http://www.mozart-oz.org/mailman/listinfo/mozart-users
--
Mark Richardson
Final year undergraduate
University of Teesside
_________________________________________________________________________________
mozart-users mailing list
[email protected]
http://www.mozart-oz.org/mailman/listinfo/mozart-users