Visual Basic - EJEMPLO PAUSAS TIEMPO

Life is soft - evento anual de software empresarial
 
Vista:

EJEMPLO PAUSAS TIEMPO

Publicado por tecniCam (186 intervenciones) el 02/08/2004 19:38:10
Ejecuta pausas durante un determinado espacio de tiempo en segundos:

Llamada: Espera(5)

Sub Espera(Segundos As Single)
Dim ComienzoSeg As Single
Dim FinSeg As Single
ComienzoSeg = Timer
FinSeg = ComienzoSeg + Segundos
Do While FinSeg > Timer
DoEvents
If ComienzoSeg > Timer Then
FinSeg = FinSeg - 24 * 60 * 60
End If
Loop
End Sub
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