Re: question about reset counter/data



the main thing here is how to reset the count of msg received and
sent. The mailbox(GUI) is created by other people(team) in my
department using vb. So i had sketch the interface as u can refer
above and exactly the same structure with that GUI created using vb. I
have to calculate the size of mailbox and reset the number or msg in
and msg out to zero. The main point here is the algorithm how to set
the data in mailbox back to zero. Mbe u can imagine the the structure
of the mailbox. I have a requirement where I want to have a tcl script
run a couple of processes in background parallely

This is kind of my logic so far:


1) When msg come in and out, each mailbox have to reset to zero
(after idle)
2) If things happen during this period of time, cancel the idle
callback
(after cancel)
3) and wait until the next idle occur and reset to zero


Can you please suggest me a solution. It would be really useful for me
if you can help me in this regard.



.



Relevant Pages

  • Re: question about reset counter/data
    ... receive msg: 1234 ... Did an external program generate that text? ... ASD mailbox. ... What does it mean to "reset a counter for a mailbox"? ...
    (comp.lang.tcl)
  • Re: question about reset counter/data
    ... receive msg: 1234 ... ASD mailbox. ... Can anyone tell me how to reset data/count after msg come in and out ... If things happen during this period of time, cancel the idle ...
    (comp.lang.tcl)
  • Re: question about reset counter/data
    ... receive msg: 1234 ... out will be reset to zero. ... The "CountOut" of a mailbox meanz if the ...
    (comp.lang.tcl)
  • Re: Gottleib EM - 1976 Surf Champ
    ... Well, If I power on and the reels are not at zero, it will sometimes go ... through the reset and reset them to zero... ... When I press any of the scoring relays, the relays at the top-rear of the ... Adjusting newer GTB interlock relays,, ...
    (rec.games.pinball)
  • Okay Heres the problem: in Index
    ... the email message. ... import string, StringIO ... import mailbox, email, re ... for w in msg: ...
    (comp.lang.python)