NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

HxLink DID NOT INITIALIZE

While...End While Statement

Executes a series of statements as long as a given condition is True.

While condition
[statements]
End While

Parameters

condition
Required. Boolean that evaluates to True or False. If condition is Null, condition is treated as False.
statements
Optional. One or more statements executed while condition is True.

Remarks

If condition is True, all statements are executed until the End While statement is encountered. Control then returns to the While statement and condition is again checked. If condition is still True, the process is repeated. If it is not True, execution resumes with the statement following the End While statement.

While...End While loops can be nested to any level. Each End While matches the most recent While.

Tip   The Do...Loop statement provides a more structured and flexible way to perform looping.

See Also

Do...Loop Statement | Using Do...Loop Statements | With Statement