Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- FreshWin (c) Fresh Technologies - <b>rand() miscellaneous function</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
  RAND()                                              Miscellaneous Function
 Purpose..: Generate a random number
-------------------------------------------------------------------------------
 Syntax...:  Rand( <nMax> ) --> nRandom

 Arguments:  <nMax>  = Upper limit.

 Returns..: <N> nRandom - a random number.

 Remark...: The function generates a random number
            between 0 and <nMax> using the LongRand() function.

 Source...: RANDOM.C
-------------------------------------------------------------------------------
 Example..: ? Rand( 88 )      // prints 74, next time prints 5, etc

See Also:

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson