Randomize

"-->
 Randomize (number) 

Description

Seeds the ColdFusion random-number generator with an integer number. Although the number returned by the randomize function is not random, seeding the generator helps ensure that the Rand function generates highly random numbers.

Example

 <cfset exampleRan = Randomize(23)>  <cfoutput>  This is very random number: #Rand()#  </cfoutput>  


Inside ColdFusion MX
Inside Coldfusion MX
ISBN: 0735713049
EAN: 2147483647
Year: 2005
Pages: 579

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net