Hi, is there a Pause routine or equivalent in b4a? I haven't come across one yet, and i have been searching for a while. If anybody can let me know I would greatly appreciate it.
'Interval in milliseconds
Sub Pause (Interval As Int)
Dim EndTime As Long
EndTime = DateTime.Now + Interval
Do While DateTime.Now < EndTime
DoEvents
Loop
End Sub
'Interval in milliseconds
Sub Pause (Interval As Int)
Dim EndTime As Long
EndTime = DateTime.Now + Interval
Do While DateTime.Now < EndTime
DoEvents
Loop
End Sub