[Gambas-devel] New Timer Function
Benoit Minisini
gambas at ...1...
Wed Sep 15 14:20:29 CEST 2004
On Tuesday 14 September 2004 20:01, Roger Hallgren wrote:
> I'd like to see a new Timer fuction added to Gambas that works like VB's
> Timer, maybe name it Timer2 ... In VB the Timer returns the time since
> midnight in milliseconds then resets to zero at midnight and starts over.
>
> Thanks for reading this.
> Roger Hallgren
>
>
Another lazy man :-)
FUNCTION Timer2() AS Float
RETURN CFloat(Frac(Now)) * 1000
END
--
Benoit Minisini
mailto:gambas at ...1...
More information about the Devel
mailing list