IF Computer > MINERVA > Manual > Reference > Predicates > Asynchronous timer handling > timer_start/2

timer_start/2

MINERVA
ifcomputer logo
f
Expert Services on the Web

Starts a timer

timer_start(+Timer, +MilliSeconds)

timer_start/2 starts a timer and sets the elapse time to MilliSeconds milliseconds. If it has already been started, then it will be stopped and restarted with the new elapse time. When the timer elapses, the callback predicate, that has been defined, when creating the timer (see timer_create/2), will be called (if it is not 'null').

Arguments

Timer               timer
MilliSeconds        integer

This predicate is not part of the ISO-Prolog Standard.

See also

timer_close/1, timer_create/2, timer_is_active/1, timer_start/2, timer_stop/1.

document: http://www.ifcomputer.co.jp/MINERVA/Manual/Reference/Predicates/timer/timer_start/print_en.html
published 2008/11/17 update 2001/5/17 (c) 1996-2006 IF Computer Japan
IF Computer 5-28-2 Sendagi, Bunkyo-ku Tel +81-3-5814-3352 start (AT) ifcomputer.com
Customer Support Tokyo 113-0022 Japan   http://www.ifcomputer.com
Back> managed with ubiCMS