OWBasic Standard Library

Group INTRO Home INTRO Alphabetical Index

Timer (Component)

Library: StdTimer
Necessary constants: TI_USED, TI_MAX

The Timer component allows to use any number of timers which are individually startable, pausable and stoppable. Some additional functions make possible sleeping for a specified time and synchronizing the program.

The constant TI_MAX gives the amount of timers. If the program does not define this constant, it is implicitly set to 20.

Function groups:


Bit valueFunctions
0x0001Basical functions:
TI_START, TI_STOP, TI_TIME, TI_TIME#, TI_RESUME, TI_GPAUSE
0x0002Sychronisation:
TI_SYNC, TI_SYNC!
0x0004TI_WAIT

Gruoup INTRO Home INTRO Alphabetical Index