Navigation:  thinBasic language > Program Flow >

WHILE / WEND

Previous pageReturn to chapter overviewNext page

 

Description

 

Define a block of program statements that are executed repeatedly for as long as certain conditions are met.

 

Syntax

 

WHILE numeric_expression

...

{statements}

[EXIT WHILE]

[ITERATE WHILE]

{statements}

...

WEND

 

Returns

 

Parameters

 

Remarks

 

Restrictions

 

See also

 

Examples

 

 

© 2004-2008 thinBasic. All rights reserved. Version 1.7.0.0 Web Site: http://www.thinbasic.com