do

Top  Previous  Next

Scripts > Class elements and c++ instructions > Interpreted C++ instructions > Control structures > do

 

Syntax

 

do <statement> while ( <condition> );

 

Description

 

The do statement executes until the condition becomes false.

<statement> is executed repeatedly as long as the value of <condition> remains true.

Since the conditon tests after each the loop executes the <statement>, the loop will execute at least once.



This page belongs to the TextTransformer Documentation

Home  Content  German