On 7/8/06, Shafiq Hashmi <[EMAIL PROTECTED]> wrote:
> Dear Hai Nam,
>
> Is there anyway to implement the same timer feature implemented in OTcl
> instead of C++.
>
> Thanx

Hello Shafiq,

I don't know much about OTcl so I'm sorry that I can't help. But in
any language, you can simulate a timer like this:

set timer_expire = now() + nnn seconds
loop
do something
if (timer_expire<now())
begin
   active timer
   clear timer
end
end loop.

-- 
Hai-Nam NGUYEN
Elève 3A SLR, ENST Bretagne
2 rue de la Châtaigneraie
35576 Cesson Sévigné

Site web: http://www.jcisio.com

Reply via email to