Query

"sumanthhallegiri" <sumanthhallegiri-/[email protected]>
Newsgroups gmane.comp.windows.ce.freeware
Message-ID <[email protected]>
Hi,
            Can any one tell me why my tcl console hangs or say 
crashes when i try to use command  [gets stdin]. 
Sample code :
puts -nonewline "Enter your name: "
set bytesread [gets stdin name]
puts "My name is $name, and it is $bytesread bytes long"

This makes my console crash....any possible solution will be 
appreciated. thanks
sumanth
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.