SetTimerTask

Prev Next Home Home Table Of Contents Index

SetTimerTask (Loc Procedure,Ticks)

SetTimerTask allows for background multitasking or real time events. The Ticks parameter specifies how often the task will run in clock ticks (18.2 times a second). If 6 ticks are specified then the task will run every 6 clock ticks or about 3 times a second. This command can be used to run scheduled events as well as periodic events.


Example:
SetTimerTask(Loc BlinkColor,9)

Procedure BlinkColor gotoxy 5 5 textcolor white (random mod 7)+1 writeln " * Colors Change * " EndProc

Category: Event

Prev Next Home Home Table Of Contents Index

Sponsors
Shopping
Forum
Forum
email
EMail
Index
Index
Home
Home