Re: after behaviour
- From: "nicolas" <sl1200mk2@xxxxxxxxx>
- Date: 13 Aug 2005 08:06:03 -0700
hi all
does this proc is ok?
proc doTime {a z g} {
if {[ set ::compteur::ti] == 0 && [ set ::compteur::to] == 200 } {
return
}
variable ::compteur::ti
variable ::compteur::to
set t0 [ set ::init::init1]
set t [ expr {$t0 + $a}]
set t2 [ expr {$t0 + $g*[ incr to]}]
set t1 [ expr {$t0 + $z*[ incr ti -1]}]
after [ expr {$t1-[ clock clicks -milliseconds ]} ] vui
after [ expr {$t2-[ clock clicks -milliseconds ]} ] vuo
after [ expr {$t-[ clock clicks -milliseconds ]} ] [ list doTime $a $z
$g ]
}
.
- Follow-Ups:
- Re: after behaviour
- From: nicolas
- Re: after behaviour
- References:
- Re: after behaviour
- From: John Perry
- Re: after behaviour
- From: SM Ryan
- Re: after behaviour
- From: John Perry
- Re: after behaviour
- From: nicolas
- Re: after behaviour
- From: Donal K. Fellows
- Re: after behaviour
- From: nicolas
- Re: after behaviour
- From: John Perry
- Re: after behaviour
- From: nicolas
- Re: after behaviour
- From: Melissa Schrumpf
- Re: after behaviour
- From: Bob Techentin
- Re: after behaviour
- Prev by Date: safe interpreters
- Next by Date: Re: sending data between computers
- Previous by thread: Re: after behaviour
- Next by thread: Re: after behaviour
- Index(es):