Advertisement
5_2007-2008 Math/ Dates #172409

A Super Easy Delay Timer

A delay timer so easy, this paragraph is longer. I had to submit this easy code because it is not on this website. Uses no API, and it is very handy!!

AI

สรุปโดย AI: This codebase represents a historical implementation of the logic described in the metadata. Our preservation engine analyzes the structure to provide context for modern developers.

ซอร์สโค้ด
original-source
Private Sub Command1_Click()
 Dim Start As Long
 Start = Timer
  
  Do While Timer < Start + 3 'a 3 second delay (Change to any numer you want)
   DoEvents  ' Yield to other processes.
  Loop
  
 Beep
 
End Sub

Upload
Upload
ความคิดเห็นดั้งเดิม (3)
กู้คืนจาก Wayback Machine