
31/05/2003, 17:14
|
 | | | Fecha de Ingreso: febrero-2002 Ubicación: España
Mensajes: 2.364
Antigüedad: 23 años, 3 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)
%> |