in reply to (Ovid) Re: General quesion
in thread General quesion
My turn to go Aargh!!! I just wrote pretty much this same code and I missed the for (1..8) optimization.
Of course, I have an excuse since my code actually accepts the size for the password and if they go with a real large password, I would have to wait for the list to be created. Yeah, that's my excuse and I'm sticking to it. :-) Yes, I know it's a weak excuse, but it was the best I could come up with.
One question though. When using a random number it returns a decimal. Does using it as an array index automagically int() it? 'Cause in my code, I explicitly call int around my rand call.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
RE: RE: (Ovid) Re: General quesion
by Ovid (Cardinal) on Aug 08, 2000 at 04:43 UTC | |
by merlyn (Sage) on Aug 08, 2000 at 06:36 UTC | |
by johannz (Hermit) on Aug 08, 2000 at 22:35 UTC | |
by KM (Priest) on Aug 08, 2000 at 22:45 UTC | |
by tye (Sage) on Aug 08, 2000 at 23:27 UTC | |
by KM (Priest) on Aug 08, 2000 at 23:32 UTC | |
|