-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 You need to call Randomize first. This initialized the pseudo-random # generator. Otherwise you will get the same sequence of numbers every time.
New code: -- Randomize Response.write Rnd() Response.write Rnd Response.write Rnd(1000) -- Ben Timby Webexcellence PH: 317.423.3548 x23 TF: 800.808.6332 x23 FX: 317.423.8735 [EMAIL PROTECTED] www.webexc.com - -----Original Message----- From: Babiker [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 25, 2002 12:00 PM To: ActiveServerPages Subject: Random numbers I USED Response.write Rnd() Response.write Rnd Response.write Rnd(1000) But whenever I run it , I GET THE SAME NUMBER WHICH IS .75549 WHAT IS WRONG i SUPPOSE TO GET DIFFERENT NUMBERS WHEN EVER RUN IT RIGHT PLEASE HELP - --- You are currently subscribed to activeserverpages as: [EMAIL PROTECTED] To unsubscribe send a blank email to %%email.unsub%% -----BEGIN PGP SIGNATURE----- Version: PGP 7.0.4 iQA/AwUBPUBnPvnby1cCm2Q8EQK0PgCdEES6xGaWj24gh9Nua5OM/ItwFBkAnA9o OXjLOIVU9CvzUvqUj9SDT0qI =7+Md -----END PGP SIGNATURE----- --- You are currently subscribed to activeserverpages as: [email protected] To unsubscribe send a blank email to [EMAIL PROTECTED]
