This documentation was styled with a demo skin from the Premium Pack 4 add-on for Help & Manual. The contents of the skin are encrypted and not configurable. You can only publish HM projects with this skin. You cannot edit it or change it.
This version is copyright and may only be used for local testing purposes. It may not be distributed.
Please purchase the full version of the Premium Pack to get the configurable skins and remove this notice. The package will also include the Toolbox configuration utility for Premium Pack skins.
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