Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- MICROSYS C & Clipper Functions - <b>b_random()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
b_random()


Syntax:     b_random(<expN1>,<expN2>)

Purpose:    Generate a random number between 0 and 32,767

Arguments:  <expN1> starting value

            <expN2> ending value

Returns:    A numeric value

Library:    MICROSYS.LIB

----------------------------------- Example ----------------------------------

   _row := b_random(0,24)
   _col := b_random(0,80)

   @_ror,_col say "."

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