invalid command name
Posted by Andy (Andy), 27 January 2003I have the following code :
.. if I now want to start it with datei_lesen I just got the error message :
invalid command name "datei_lesen" while executing "datei_lesen"
Do you guys have any idea what I do wrong ?
Posted by admin (Graham Ellis), 27 January 2003Yep, Tcl is an interpretive language so you must define your procs before you get to any calls to them in the code. Thus ... if you add
at the very top of the sample code that you've supplied, you'll get the error message. If you add it at the end (after the last } at the end of the proc) then you won't have the problem
Other Forum Posts
Follow us on ...
PH: 01144 1225 708225 • FAX: 01144 1225 793803 • EMAIL: email@example.com • WEB: http://www.wellho.net • SKYPE: wellho