Sub Globals
'Declare the global variables here.
End Sub
Sub App_Start
Random.New1(False)
Seed.New1(1)
Seed.SetValue(0,75,"System.Int32") 'Set the seed value
Random.CreateNew2("System.Random",Seed.Value)
Msgbox(MyRnd(0,10))
Msgbox(MyRnd(0,10))
End Sub
Sub MyRnd(Minimum, Maximum)
Return Random.RunMethod3("Next",Minimum,"System.Int32",Maximum,"System.Int32")
End Sub