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 uploaded: 2017-08-21, 14:26