🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: pl.comp.lang.tcl
Article #176

Re: problem z trace

#176
From: Googie
Date: Tue, 27 Sep 2005 10:59
27 lines
1617 bytes
olo@nowar.pl napisał(a):
> ------------------------------------------------
> #!/usr/bin/wish8.4
> wm protocol . WM_DELETE_WINDOW {
>     destroy .
>     exit 1
> }
> set val 0
> checkbutton .ere -text "regexp" -variable val -onvalue 1 -offvalue 0
> pack .ere
> trace variable val w {
>     puts stderr "in"
> }
> vwait eventLoop
> destroy .
> ------------------------------------------------

1) Po co są 2 ostatnie linie???

2) Właściwy błąd wydaje mi się bugiem - co jest dość zaskakujące. Tcl 
generalnie ma b. mało błędów. Gdy próbowałem śledzić zmienną przez "r", 
a nie "w", to wszystko działało. Jedynie "w" sprawia problemy, co 
sugerowało by, że jest to bug Tcla. Ale ja się tam nie znam... :)

-- 
Pozdrawiam!
Googie
Technical Details
Message-ID: <dhb8dl$pt9$1@srv.cyf-kr.edu.pl>
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!newsfeed.gazeta.pl!feed.news.interia.pl!news.cyf-kr.edu.pl!not-for-mail
References: <dhb6tn$opj$1@news.task.gda.pl>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!newsfeed.gazeta.pl!feed.news.interia.pl!news.cyf-kr.edu.pl!not-for-mail
From: Googie <no@spam.org>
Newsgroups: pl.comp.lang.tcl
Subject: Re: problem z trace
Date: Tue, 27 Sep 2005 12:59:01 +0200
Organization: Academic Computer Center CYFRONET AGH
Lines: 27
Message-ID: <dhb8dl$pt9$1@srv.cyf-kr.edu.pl>
References: <dhb6tn$opj$1@news.task.gda.pl>
NNTP-Posting-Host: tatanka.veranet.pl
Mime-Version: 1.0
X-Trace: srv.cyf-kr.edu.pl 1127818485 26537 195.214.216.6 (27 Sep 2005 10:54:45 GMT)
X-Complaints-To: news@cyf-kr.edu.pl
NNTP-Posting-Date: Tue, 27 Sep 2005 10:54:45 +0000 (UTC)
User-Agent: Mozilla Thunderbird 1.0.6 (Windows/20050716)
X-Accept-Language: pl, en-us, en
In-Reply-To: <dhb6tn$opj$1@news.task.gda.pl>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit