Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Optimization] Optimized DoEvents
#11
Nean Wrote:
Joost Wrote:Even in that case, I'd stay away from it and use the Sleep function.

How would one use the sleep function instead? Example? Also is there any benefits, because I'd be willing to convert all my sources from DoEvents if so.

Lol, the problem with sleep is that it does not allow you to do anything else, so it is basically useless. The reason you would use DoEvent is to allow users to still have some input while your code is looping. If that is what you are aiming for, stay as far away from Sleep as you can xD.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)