hi all,
IntTemp = Int((255 * Rnd()) + 1)
I used above ASP.NET code. Problem is in ” Rnd() ”
Rnd() value is changing everytime.
What is the alternative for Rnd()? OR How will stop Rnd() value changes at everytime?
Thanks
— meiner Meinung nach besten Antworten —
Comment from simon_thwaites
Date: 11/30/2006 04:00AM PST
Try this function
Function UnRnd()
UnRnd = 4 ‘my favourite number!
End Function
IntTemp = Int((255 * UnRnd()) + 1)
——–
Comment from OliWarner
Date: 11/30/2006 04:10AM PST
Yeah 4 is a good number
Recommend simon_thwaites for the points =)