Home  |  Programs  |  Tips & Tricks  |  Subs & Functions  |  Links  |  Laz's Liberty Basic Site


Pause Sub

Call the Sub like this:
call Pause 5000

The value is Milliseconds; 1000 = 1 second


sub Pause ms
'you could multiply ms by 1000 and call Pause with the amount
' of seconds instead of Milliseconds.
'ms = ms * 1000
calldll #kernel32, "Sleep", ms as long, ret as void
end sub

Hosted by www.Geocities.ws

1