NAME

timer - return the number of seconds since midnight

SYNOPSIS

v = timer

DESCRIPTION

Timer returns the number of seconds since midnight or in other words, the time of day in seconds. 

EXAMPLE

The program
	while 1
		time = timer
		while time + 1 > timer: wend
		beep
	wend
will beep once a second forever.  The program uses the timer function in the inner while loop to determine when a second has elapsed. 

SEE ALSO

time$

USAGE NOTES

This function returns a whole number of seconds.  Under UNIX, the real time is not available in terms of fractions of a second. 

from The Basmark QuickBASIC Programmerís Manual by Lawrence Leinweber