![Antiguo](http://static.forosdelweb.com/fdwtheme/images/statusicon/post_old.gif)
31/05/2003, 17:14
|
![Avatar de maestro](http://static.forosdelweb.com/customavatars/avatar16226_1.gif) | | | Fecha de Ingreso: febrero-2002 Ubicación: España
Mensajes: 2.364
Antigüedad: 22 años, 4 meses Puntos: 1 | |
<%
Function RandomNumber(inicio, fin)
Randomize()
RandomNumber = Int((fin - inicio + 1) * Rnd + inicio)
End Function
%>
<%' generar un numero entre 2 y 10
response.write "Numero generado :" &RandomNumber(2, 10)
%> |