|
-
Apr 11th, 2001, 03:59 PM
#1
Thread Starter
Frenzied Member
For those of you paying attention in other forums, I just learned that you have to turn on the VBScript Random Number Generator before you use it. If you don't, you get the same result for Rnd() everytime. I kind of think that is stupid, since you want a random number... but whatever.
So now at the top off all of my scripts and ASPs will be the lone, undocumented statement "Randomize".
When someone less familiar with VBScript asks why that is there, I can smile and tell them the system works on chaos.
Travis, Kung Foo Journeyman
As always, RTFM.
WWW Standards: HTML 4.01, CSS Level 2, ECMA 262 Bindings to DOM Level 1, JavaScript 1.3 Guide and Reference
Perl: Learn Perl, Llama, Camel, Cookbook, Perl Monks, Perl Mongers, O'Reilly's Perl.com, ActiveState, CPAN, TPJ, and use Perl;
YBMS, but Mozilla doesn't.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|