Hi,
I'm trying to find the easy way-out to process dates and date
differences. I thought it would be great to use Tcl/Tk from Oz rather
than write my own date handling code. However there is something I don't
understand.
As far as I understood it, the tickle-strings that can be passed through
Tk.send or Tk.return can be straight-forward Tcl commands just as easily
as they can be Tk specific commands.
If I try
{Browse {Tk.return "clock"}}
I get the error message saying that I have the wrong number of arguments
and my command should be of the form 'clock option ?arg ...? , but at
least the command is recognised
So, I try
{Browse {Tk.return "clock clicks"}}
which I expect to give me an integer value but I now get the error
'invalid command name "clock clicks" '
Does this mean that I'm wrong and core-Tcl commands cannot be used in
this way or am I doing something wrong in my method of using them?
Regards
Mark R
_________________________________________________________________________________
mozart-users mailing list
[email protected]
http://www.mozart-oz.org/mailman/listinfo/mozart-users