README.md

December 4, 2022 ยท View on GitHub

Optimising (Pause)

Description

Optimisation is not always about speed. The no-API Pause routine many people use is an example of this. Obviously a Pause should not be longer than you ask for so the more accurately the routine can detect the pause is complete the better it is. The routine gains accuracy because it spends less time working and more detecting. This is a very minor optimisation but the approach will help you in other optimisation work.


See the PauseTutorial.txt file in the zip for more detailed explanations and check out the comments in the demo code for Command4_Click and Sub PauseLong for an interesting possibility for over optimising.

More Info

Submitted On2006-01-19 21:50:04
ByRoger Gilchrist
LevelBeginner
User Rating5.0 (10 globes from 2 users)
CompatibilityVB 4.0 (32-bit), VB 5.0, VB 6.0
CategoryCoding Standards
WorldVisual Basic
Archive FileOptimising1966481192006.zip