Visual Basic - RANDOM

Life is soft - evento anual de software empresarial
 
Vista:

RANDOM

Publicado por julio SERRANOP (1 intervención) el 11/07/2005 18:25:55
URGENTE!!! POR FAVOR NECESITO QUE DIGAN COMO HACER PARA QUE EL RANDOM NO ME REPITA LOS NROS, ES DECIR TENGO UN RANGO DE 1 A 20 Y NECESITO QUE CADA VEZ QUE LE DE CLIC A UN BOTON NO ME REPITA LOS ANTERIORES ES DECIR SI LE DOY A LA TERCERA VEZ NO ME PUEDE REPETIR EL VALOR NI DEL PRIMERO NI DEL SEGUNDO....GRACIAS.....
Valora esta pregunta
Me gusta: Está pregunta es útil y esta claraNo me gusta: Está pregunta no esta clara o no es útil
0
Responder

RE:RANDOM

Publicado por AFleming (52 intervenciones) el 11/07/2005 19:12:45
yo lo haria guardando los valores que han salido en un vector... y luego cuando salga un numero lo busco en el vector y si ya esta entonces busco otro, y ya.
Valora esta respuesta
Me gusta: Está respuesta es útil y esta claraNo me gusta: Está respuesta no esta clara o no es útil
0
Comentar