Rob van der Woude's Scripting Pages
Powered by GeSHi

Source code for random.vbs

(view source code of random.vbs as plain text)

  1. ' Initialize random-number generator
  2. Randomize
  3.  
  4. ' Generate and display a random number between (and including) 1 and 100
  5. WScript.Echo Int( 100 * Rnd + 1 )
  6.  

page last modified: 2024-04-16; loaded in 0.0099 seconds