Just one yes or not!
From: Alexander (alexander_at_edem.g12.br)
Date: 11/26/03
- Next message: Jean-Luc Fontaine: "ANNOUNCE: Tcl/Tk 8.4.5 rpms with thread 2.5.2 extension"
- Previous message: David N. Welton: "Re: anyone knows how to program a smtp session using tcl to talk to smtp server with ssl"
- Next in thread: Gerald Lester: "Re: Just one yes or not!"
- Reply: Gerald Lester: "Re: Just one yes or not!"
- Reply: Donald Arseneau: "Re: Just one yes or not!"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 26 Nov 2003 12:31:23 -0800
Hi all!
I need one yes or not for one question (sorry for my horrible english).
I try understand vwait command. So, que question:
Command "vwait" just work if I have one event to be processed (what is events)?
Just work if I have one "fileevent", "after" or other TK event?
Just in this cases?
For example (why this script generate one error [wait forever]?):
set infinite 0
set counter
puts "hello"
incr counter
if {$counter == 4} {
puts "script is finished"
set infinite 1
}
vwait infinite
Is it occur because this script no have any event?
I ever need (using vwait) use "fileevent", "after" or TK event?
Thanks a lot for your patience!
Alexander
Brazil
- Next message: Jean-Luc Fontaine: "ANNOUNCE: Tcl/Tk 8.4.5 rpms with thread 2.5.2 extension"
- Previous message: David N. Welton: "Re: anyone knows how to program a smtp session using tcl to talk to smtp server with ssl"
- Next in thread: Gerald Lester: "Re: Just one yes or not!"
- Reply: Gerald Lester: "Re: Just one yes or not!"
- Reply: Donald Arseneau: "Re: Just one yes or not!"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]