SiteScripts

SiteScripts - PHP Scripts, CGI Scripts, Free Javascript & ASP Scripts.

Interspire Shopping Cart

Grab Random Numbers

Grab Random Numbers This line of code selects 20 random numbers from 1000 numbers and checks for them to be unique. It creates an array called myarr and then the For loops do their stuff to check if all the numbers are unique or not as the Int function may not get unique numbers. You can increase the numbers to be unique by changing the If condition statement as that is the If statement is the one that breaks out of the loop.
  • Price: Free
  • Updated: 10/12/03
  • Visits: 20
  • Rating: Unrated.
Get Rated Modify

Reviews for Grab Random Numbers


Write a Review