Navigation: thinBasic language > Program Flow > DoEvents |
|
Description
Yields execution so that the operating system can process other events.
Syntax
DoEvents [( ON | OFF )]
Returns
None
Parameters
Name |
Type |
Optional |
Meaning |
ON |
Number |
Yes |
Switch ON internal automatic DoEvents performed by thinBasic engine |
OFF |
Number |
Yes |
Switch OFF internal automatic DoEvents performed by thinBasic engine |
Remarks
thinBasic automatically perform an internal DoEvents every time this keyword is encountered. This gives enough slice time to all other process running.
This behave can be changes switching it ON or OFF.
By default internal DoEvents are ON. Switching it OFF will increase script execution speed.
Restrictions
See also
Examples
© 2004-2008 thinBasic. All rights reserved. | Version 1.7.0.0 | Web Site: http://www.thinbasic.com |