-> 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)
|