Copyright © 2007-2011, FreeBASIC Extended Library Development Group
Contains code contributed and Copyright © 2007, mr_cha0s: ruben@gmai l.com .coder
Distributed under the FreeBASIC Extended Library Group license. See accompanying file LICENSE.txt or copy at http://code.google.com
declare function RndRange overload ( byval min_ as integer, byval max as integer, byval getnew as integer = 1 ) as integer
Returns an integer within the specified range.
min_ | the minimum number to return. |
max | the maximum number to return. |
getnew | optional parameter to pass to rnd, defaults to 1. |
Random integer between min_ and max.
declare function RndRange overload ( byval lower as double, byval upper as double, byval getnew as integer = 1 ) as double
Returns an double within the specified range.
min_ | the minimum number to return. |
max | the maximum number to return. |
getnew | optional parameter to pass to rnd, defaults to 1. |
Random double between min_ and max.
Returns an integer within the specified range.
declare function RndRange overload ( byval min_ as integer, byval max as integer, byval getnew as integer = 1 ) as integer