Hi thanks for your reply,
I changed it as you suggested but I still have the same error msg.
% source tktest.tcl
invalid command name "label"
and my tktest.tcl is as fallows;
#!/bin/sh
# \
exec wish "$0" "$@"
label .hello -text "my name is trtcl"
pack .hello
Hi,
I use tcl on unix at work (never used tk) but wanted to do some other projects at home, and i use mac
and since mac has tcl/tk built-in I can run my tcl programs from the mac terminal.
My question is,
when I do the fallowing in my terminal window
% wish
% button .hello -text "my name...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.