SLEEP 1 is crashing the programby Lisztfr (no login)Anyone experiences this ? Inserting SLEEP 1 into a LOOP, like here : 'initializing: rotate$ = MID$("|/-\|/-", (a% + 1), 1) cnt% = 1 DO UNTIL EOF(1) = -1 OR cnt% = 200 LINE INPUT #1, linebuf$ linebuf$ = RTRIM$(linebuf$) IF LEN(linebuf$) > 0 AND LEN(linebuf$) <= 200 THEN stat(cnt%).lines = LEN(linebuf$) stat(LEN(linebuf$)).count = stat(LEN(linebuf$)).count + 1 cnt% = cnt% + 1 IF (cnt% MOD 10) = 0 THEN 'rotation bar LOCATE 1, 80 PRINT rotate$; SLEEP 1 END IF END IF LOOP |
| Response Title | Author and Date |
| Well I don't see how that would crash any program, but to hell with it, let's just fix it. | on Jan 12 |
| Rem Pete : | Lisztfr on Jan 12 |
| That one also works with one variable, but remember, there is no midnight correction... | on Jan 12 |
| *Okay for this one... thx | Lisztfr on Jan 12 |