|
From: Flo on 24 Jun 2008 03:13 Hi everyone, I try to configure a port com with non blocking input and blocking output using: set ID_file_com_opened [open com8 r+] fconfigure $ID_file_com_opened -blocking [list 0 1] I got an error : expected boolean value got "0 1" I'm using tcl 8.5.1.0 (activestate activetcl) on windows xp. Does anyone got the correct syntaxe? thanks a lot Florent
From: Andreas Leitgeb on 24 Jun 2008 04:07 Flo <margabiere(a)gmail.com> wrote: > fconfigure $ID_file_com_opened -blocking [list 0 1] > I got an error : > expected boolean value got "0 1" Doesn't that say it all? fconfigure has a few options that can take pairs of values for "in" and "out". However, "-blocking" is *not* one of those. You can only make the whole thing blocking or non-blocking.
From: Flo on 24 Jun 2008 07:35 hi, thanks a lot for the answer. florent Andreas Leitgeb a écrit : > Flo <margabiere(a)gmail.com> wrote: > > fconfigure $ID_file_com_opened -blocking [list 0 1] > > I got an error : > > expected boolean value got "0 1" > > Doesn't that say it all? > > fconfigure has a few options that can take pairs of > values for "in" and "out". However, "-blocking" is > *not* one of those. You can only make the whole > thing blocking or non-blocking.
|
Pages: 1 Prev: Free Online jobs Next: Disable a command added to Tk menu using |