OWBasic for Pocketviewer

Home INTRO Group SYSTEM Alphabetical Index

Fast Timer

Usage of this timer is no more recommended. --> TIMER#

A fast timer can be used for measurement of short times. If switched on with SYS 10 the counting starts with zero. The rate of the counter is 40 counts per second. The value of the fast counter is deliver by TIME(8). Switch the counter of with SYS 11 if not further used.

Avoid the use of procedures like MESSAGEBOX or BUZZER during usage of fasttimer, because they interrupt the counting process.

Example:

	sys 10: ! Start fast timer
	wait 10: ! Wait 10 seconds
	? time(8)/40.0 : ! Output the really waited time
	sys 11: ! stop fast timer


Home INTRO Group SYSTEM Alphabetical Index