View Single Post
  #3 (permalink)  
Old October 19th, 2005, 11:42 PM
vinod_yadav1919 vinod_yadav1919 is offline
Friend of Wrox
 
Join Date: Oct 2004
Location: delhi, delhi, India.
Posts: 553
Thanks: 0
Thanked 1 Time in 1 Post
Send a message via MSN to vinod_yadav1919 Send a message via Yahoo to vinod_yadav1919
Default

Hii Neo_jakey!!
For this you need to make dynamic variables .
Use execute and eval function
Hope this will help you
<%
vrsHours="rsHours"
for i=1 to 10
Randomize
 execute(vrsHours&i & " = Int(Rnd * 10) + 1")
response.write("Input:-"&vrsHours&i &"="&eval(vrsHours&i) &"<br>")
next

for i=1 to 10
response.write("OutPut:"&vrsHours&i & "="&eval(vrsHours&i) &"<br>")
next

%>

Cheers :)

vinod
Reply With Quote