hi
i want to learn tcl/tk. so i have bought the book practical programming in tcl/tk. but i can't use the example scripts. every time i got a error.
for example:
i have tried to built the " example browser"
but if i want to start the browser, i got this message:
error in startup script: invalid command name "Scrolled_Text"
while executing
"Scrolled_Text .body \
-width 80 -height 10\
-setgrid true"
invoked from within
"set browse(text) [Scrolled_Text .body \
-width 80 -height 10\
-setgrid true]"
i have changed usr/local/bin/wish to usr/bin/wish
but nothing happend
i am confused. what's wrong with the script?
i'm working with debian.
i want to learn tcl/tk. so i have bought the book practical programming in tcl/tk. but i can't use the example scripts. every time i got a error.
for example:
i have tried to built the " example browser"
but if i want to start the browser, i got this message:
error in startup script: invalid command name "Scrolled_Text"
while executing
"Scrolled_Text .body \
-width 80 -height 10\
-setgrid true"
invoked from within
"set browse(text) [Scrolled_Text .body \
-width 80 -height 10\
-setgrid true]"
i have changed usr/local/bin/wish to usr/bin/wish
but nothing happend
i am confused. what's wrong with the script?
i'm working with debian.