Forums
This topic is locked
Creating a random number
Replies
Replied 06 Sep 2001 02:08:51
06 Sep 2001 02:08:51 Waldo Smeets replied:
<%
Dim myNum
Randomize
myNum = Int((1000 * Rnd) + 1)
%>
Then use "myNum" in your code as your random number variable.
Waldo Smeets - www.UDzone.com Webmaster
<font size=1>-------------------------------------------
<i>Please read the Forum FAQ before posting
a question to this TalkZone.</i>
-------------------------------------------
www.UDzone.com : A dynamic Dreamweaver,
Ultradev and Fireworks site for developers
by developers.
-------------------------------------------</font id=size1>
Dim myNum
Randomize
myNum = Int((1000 * Rnd) + 1)
%>
Then use "myNum" in your code as your random number variable.
Waldo Smeets - www.UDzone.com Webmaster
<font size=1>-------------------------------------------
<i>Please read the Forum FAQ before posting
a question to this TalkZone.</i>
-------------------------------------------
www.UDzone.com : A dynamic Dreamweaver,
Ultradev and Fireworks site for developers
by developers.
-------------------------------------------</font id=size1>