TIP: Click on subject to list as thread! ANSI
echo: quik_bas
to: BRUCE CORBETT
from: DAVID WILLIAMS
date: 1998-04-17 14:26:00
subject: random letters

-> RandomNum:
-> RANDOMIZE TIMER
 .... a lot deleted for brevity ...
-> IF LEN(Password$) < 5 THEN GOTO RandomNum
Bad idea! That means you're executing RANDOMIZE TIMER over and over
again, which not only wastes time but can actually make the RNDs *less*
like real random numbers!
RANDOMIZE TIMER should be executed just once, near the beginning of the
program, before any RNDs are generated. It should *never* be put inside
any loops, which would cause it to be executed repeatedly.
                              dow
--- PCBoard (R) v15.3 (OS/2) 5
---------------
* Origin: FidoNet: CAP/CANADA Support BBS : 416 287-0234 (1:250/710)

SOURCE: echomail via exec-pc

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™.