Interactive PowerBasic Forum

IT-Consultant: Charles Pegge => OxygenBasic => Topic started by: Ed Davis on July 19, 2022, 02:38:54 PM

Title: timer from other Basics
Post by: Ed Davis on July 19, 2022, 02:38:54 PM
Does O2 have anything similar to timer from some other Basics?

TIMER Function
Purpose:
To return single-precision floating-point numbers representing the elapsed number of seconds since midnight or system reset.

Syntax:
v=TIMER
Comments:
Fractions of seconds are calculated to the nearest degree possible. Timer is read-only.
Title: Re: timer from other Basics
Post by: Charles Pegge on July 19, 2022, 06:44:13 PM
There are some real-time functions in inc\timerutil.inc, which you could adapt