Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Random Function?
#2
I'm unfamiliar with all the math functions in vb, but I'm good with theory.

I think it should be something like

function RandRange(ByVal Low As Long,ByVal High As Long) As Long
Rand = int((High - Low + 1) * "random number") + Low
end function

somethin like that. look up the random function and replace "random number" with it.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 2 Guest(s)