Home  |  Latest News  |  Contribute  |  F.A.Q.  |  Account  |  Scripts | About
Search ASPNut:
 
ASP Reference
Server Variables
ASP Glossary
Related Sites

Free Components

Web Colors
Entities
CSS Level 1
Encode/Decode
Glossary

Our Sponsors
ASP Nuke CMS
Free Auctions
PHP 5 Script
Funktastic Blog
ULost Directory
Team Task

 

 

 

 

 

 

 

 

 

 

 

 

Randomize

The Randomize subroutine is used to seed the internal random number generator that the VBScript engine uses. This subroutine should be called on every ASP page that uses the Rnd function.

This subroutine has no arguments and because it is a subroutine, returns no value.

Randomize
Response.Write "Random (1-10) = " & Int(Rnd() * 10) + 1

Orvado, San Diego Web Design

ASP Nuke CMS
Free Open Source
Content Manager
GoSwap Auctions
Buy, Sell
No Fees!

Contact Us | Contribute | About | Site Map



"I like to listen. I have learned a great deal from listening carefully. Most people never listen." - Ernest Hemingway

©2012 San Diego Web Design - Orvado Technologies, All Rights Reserved
ASP Nut provides articles and reference documentation for Active Server Page developers.