Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Random Function?
#10
GIAKEN Wrote:
Dave Wrote:Function Random(Lowerbound As Integer, Upperbound As Integer) as Integer

Dragoons Master Wrote:No return type?

?
Not this one:
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
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)