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
Define a block of program statements that are executed repeatedly for as long as certain conditions are met.
Syntax
WHILE LogicalExpression
...
{statements}
[EXIT WHILE]
[ITERATE WHILE]
{statements}
...
WEND
Returns
Parameters
Remarks
LogicalExpression can be any numeric, string, or mixed tests that at the end will be valuated to a numeric value of false (zero) or true (any value different from zero)
In order to left some time slice to statements executed inside While/Wend to handled windows events, While/Wend automatically execute a DoEvents at every cycle.
Restrictions
See also
Examples