Hello there,
I am new to tcl and simply trying to install a complete program (this one: I work on Windows 10 and have currently installed Tcl 8.5.18.0 - x86. The Woz-program (woz.tcl) used to run a few months ago and now I am puzzled to see that it does not do so anymore.
When starting woz.tcl from the command line, at least I get an error: "This program requires wish!". The reason why I am puzzled is that I do have a wish.exe and wish85.exe in C:\Tcl\bin (this path has also been added to the environment variables). When I looked into the source code of woz.tcl, I realized, that I can't quite figure out all of the syntax:
# check tk availability
if {[info commands button]==""} {
puts "FATAL ERROR:\n\nThis program requires wish!"
exit
}
So maybe someone can help me
A) by explaining what "[info commands button]" means on a syntactic level (it seems to be checking if wish exists, but I don't know where exactly it is looking)
B) by giving me a hint what wish-files I should have other than wish.exe and where they should be placed.
Thank you so much!
Best, Ines
I am new to tcl and simply trying to install a complete program (this one: I work on Windows 10 and have currently installed Tcl 8.5.18.0 - x86. The Woz-program (woz.tcl) used to run a few months ago and now I am puzzled to see that it does not do so anymore.
When starting woz.tcl from the command line, at least I get an error: "This program requires wish!". The reason why I am puzzled is that I do have a wish.exe and wish85.exe in C:\Tcl\bin (this path has also been added to the environment variables). When I looked into the source code of woz.tcl, I realized, that I can't quite figure out all of the syntax:
# check tk availability
if {[info commands button]==""} {
puts "FATAL ERROR:\n\nThis program requires wish!"
exit
}
So maybe someone can help me
A) by explaining what "[info commands button]" means on a syntactic level (it seems to be checking if wish exists, but I don't know where exactly it is looking)
B) by giving me a hint what wish-files I should have other than wish.exe and where they should be placed.
Thank you so much!
Best, Ines