Friday May 22 1998 11:28, mark lewis wrote to Stewart Honsberger:
SH>> OTOH - when I run the thing through step-by-step with the
SH>> debugger, every single one of the 10 lines contains a
SH>> *COMPLETELY* different password! WHY?
ml> your RANDOMIZE statement is in the wrong place... the reason it works in
ml> the debugger is because you are slow enough for it to actually generate
ml> a different number each time whereas outside the ide, it's probably so
ml> fast that it gets the same number each time...
Yeah, so I found out :> (About 30 minutes after posting this message, no
less).
The Randomize statement is now in the main body of the code, and all is
well. I get different passwords each and every time, I'm happy! :>
Stewart Honsberger,
blackdeath@tinys.oix.com
... Become a programmer - Make a living crashing your computer.
-!- GOPGP v1.11
--- Squish/386 v1.11
---------------
* Origin: Blackdeath BBS - Private (1:229/604)
|