18-07-2008, 03:35 AM
GIAKEN Wrote:Not this one:Dave Wrote:Function Random(Lowerbound As Integer, Upperbound As Integer) as Integer
Dragoons Master Wrote:No return type?
?
Code:
A six second google returned this:
Code: Select all
Function Random(Lowerbound As Long, Upperbound As Long)
Randomize
Random = Int(Rnd * Upperbound) + Lowerbound
End Function