Domino Code Fragment

Code Name*
Sleep or Wait code
Date*
05/13/2024
Source (or email address if you prefer)*
Rlatulippe@romac.com
IP address:.3.16.37.201
Description*
'Puts the app to sleep for the given number of milliseconds
Type*
LotusScript
Categories*
(Misc)
Implementation:
Required Client:
Server:
Limitations:
Comments:
Files/Graphics attachments (if applicable): Code:

'Puts the app to sleep for the given number of milliseconds

Declare Sub Sleep Lib "kernel32" (Byval dwMilliseconds As Long)


Sub Wait(Byval seconds As Single)
Call Sleep(Int(seconds * 1000#))
End Sub