Article View: pl.comp.lang.tcl
Article #175problem z trace
From: olo
Date: Tue, 27 Sep 2005 10:29
Date: Tue, 27 Sep 2005 10:29
28 lines
1407 bytes
1407 bytes
Witam
Ponizszy skrypt, po kliknieciu na przycisku, generuje blad:
can't set "val": invalid command name "val"
ale czemu? Nie mam pojecia.
------------------------------------------------
#!/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 .
------------------------------------------------
Bede wdzieczny za wszelka pomoc.
olo
Technical Details
Message-ID:
<dhb6tn$opj$1@news.task.gda.pl>Path:
mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!newsfeed.gazeta.pl!news.task.gda.pl!not-for-mailShow Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!newsfeed.gazeta.pl!news.task.gda.pl!not-for-mail
From: <olo@nowar.pl>
Newsgroups: pl.comp.lang.tcl
Subject: problem z trace
Date: Tue, 27 Sep 2005 10:29:11 +0000 (UTC)
Organization: CI TASK http://news.task.gda.pl/
Lines: 28
Sender: <pzaprawa@pzaprawa.iel.gda.pl>
Message-ID: <dhb6tn$opj$1@news.task.gda.pl>
NNTP-Posting-Host: gizmo.iel.gda.pl
X-Trace: news.task.gda.pl 1127816951 25395 153.19.97.189 (27 Sep 2005 10:29:11 GMT)
X-Complaints-To: abuse@news.task.gda.pl
NNTP-Posting-Date: Tue, 27 Sep 2005 10:29:11 +0000 (UTC)
X-Organization-Notice: Organization line has been filtered
User-Agent: tin/1.6.2-20030910 ("Pabbay") (UNIX) (Linux/2.6.13cfg1 (i686))
X-Original-Organization: CI TASK http://www.task.gda.pl/
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit