TIP: Click on subject to list as thread! ANSI
echo: quik_bas
to: Hans Andersson
from: MIKE ROSS
date: 2003-06-27 23:53:18
subject: `timer object`

"Hans Andersson" wrote to "All" (27 Jun 03  16:50:40)
 --- on the topic of ""timer object""

 HA> 'timer.inc
 HA> 'NOTE! DEF FN must be last include
 HA>
 HA> TYPE TimerT
 HA> started AS SINGLE
 HA> waitsecs AS SINGLE
 HA> stoptime AS SINGLE
 HA> END TYPE
 HA>
 HA> DECLARE SUB TimerStart (Self AS TimerT, Secs!)
 HA> DECLARE FUNCTION TimeUsed! (Self AS TimerT)
 HA> DECLARE FUNCTION TimeRemain! (Self AS TimerT)


I don't understand how to use your example. There seems to be duplicate
functions. I kept getting invalid types or mismatch errors when calling
TimerStart until I did DIM SHARED Self as TimerT. BTW the SECSINDAYS
shouldn't it be 86400 instead of 864000?

 Mike
 ****

... A child of 5 could understand this!  Fetch me a child of 5!
--- Blue Wave/DOS v2.30
* Origin: Juxtaposition BBS, Telnet:juxtaposition.dynip.com (1:167/133)
SEEN-BY: 633/267 270
@PATH: 167/133 379/1 106/1 2000 633/267

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.