TIP: Click on subject to list as thread! ANSI
echo: quik_bas
to: MIKE ROSS
from: Jasen Betts
date: 2003-06-13 07:09:14
subject: FSM

Hi MIKE.

12-Jun-03 10:29:00, MIKE ROSS wrote to Leonard Erickson

 MR>      SUB Delay (t%)

 MR>         StopTime& = TIMER + t%
 MR>         DO
 MR>            IF LEN(INKEY$) THEN EXIT DO
 MR>         LOOP UNTIL (StopTime& - TIMER) MOD 86400 <= 0

you're mixing floats and integers there and it leads to unpredictable
behavior

try this

for x= 1 to 60: call delay(1):?".";: next

expect to wait much less than 1 minute for it complete!

-=> Bye <=-

---
* Origin: Keyboard not connected, press to continue. (3:640/1042)
SEEN-BY: 633/267 270
@PATH: 640/1042 531 954 774/605 123/500 106/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™.