Ver Mensaje Individual
  #2 (permalink)  
Antiguo 31/05/2003, 17:14
Avatar de maestro
maestro
 
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)
%>
__________________
Jose Maria Fernandez
[email protected]
Http://www.expansionweb.net