Article View: pl.comp.lang.tcl
Article #368Re: Dzialanie vwait
From: Wojciech Kocjan
Date: Mon, 08 May 2006 13:41
Date: Mon, 08 May 2006 13:41
34 lines
1467 bytes
1467 bytes
On Mon, 08 May 2006 08:14:30 +0200, Marek <listydyskusyjne@onet.eu> wrote:
> proc pisz {} {
> global koniec
> gets stdin test
> puts $test
> if {$test=="aa"} {
> puts "if"
> set koniec 1
> }
> }
>
> set koniec 0
> fileevent stdin readable pisz
> vwait $koniec
Zmien na:
vwait koniec
> puts "KONIEC"
>
>
> Pozdrawiam i dziekuje z gory za wszelkie podpowiedzi
Nie ma sprawy :)
ps. http://wiki.tcl.tk/vwait - polecam
"This little program demonstrates what Chris Nelson stated above (vwaits
nest):"
vwait jest bardzo zgubnym poleceniem w zlozonych przypadkach :)
--
WK
Technical Details
Message-ID:
<op.s88iztp6gt5j4a@awk009-01.lab1.mpsc.mot.com>Path:
mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!newsfeed.gazeta.pl!news.nask.pl!news.nask.org.pl!newsfeed.tpinternet.pl!atlantis.news.tpi.pl!news.tpi.pl!not-for-mailReferences:
<e3mnm8$dik$1@atlantis.news.tpi.pl>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!newsfeed.gazeta.pl!news.nask.pl!news.nask.org.pl!newsfeed.tpinternet.pl!atlantis.news.tpi.pl!news.tpi.pl!not-for-mail From: "Wojciech Kocjan" <wojciech@nospam-reversed.najcok.org> Newsgroups: pl.comp.lang.tcl Subject: Re: Dzialanie vwait Date: Mon, 08 May 2006 15:41:43 +0200 Organization: tp.internet - http://www.tpi.pl/ Lines: 38 Message-ID: <op.s88iztp6gt5j4a@awk009-01.lab1.mpsc.mot.com> References: <e3mnm8$dik$1@atlantis.news.tpi.pl> NNTP-Posting-Host: dq1.dataquest.pl Mime-Version: 1.0 X-Trace: nemesis.news.tpi.pl 1147095827 5545 195.116.54.239 (8 May 2006 13:43:47 GMT) X-Complaints-To: usenet@tpi.pl NNTP-Posting-Date: Mon, 8 May 2006 13:43:47 +0000 (UTC) User-Agent: Opera Mail(BETA2)/9.00 (Win32) Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit