PDA

View Full Version : tcl bug or suggestion


Ofloo
05-04-2004, 10:30 AM
there is no standart stdout for tcl there is for itcl but not for tcl

if u do puts "msg" then it won't out put to the screen and it gives an error that there is no default stdout for tcl ..

suggestion set puts default stdout to the client. screen or what ever you call it...

if there is meanth to be an stdout then this is a bug else its a suggestion.

note this is not itcl i am talking about it is tcl as in www.tcl.tk

Mouton
05-04-2004, 10:32 AM
io uses itcl, not tcl...
use iputs.

Ofloo
05-04-2004, 02:27 PM
oh i was under the impression it used both sinds it doesn't give an error that the cmd does not exist it just gives error that there is no stdout

darkone
05-07-2004, 09:27 AM
puts wouldn't work, because there's no way to specify stdout for tcl interpreter - tcl isn't really designed to handle threaded applications well.