Hex Editor
Hex Editor - Binary File Editing Software for Windows

do…while Statement

HHD Software - Hex Editor Serial Port Monitor USB Protocol Analyzer Network Monitor
 
 
 
< PreviousTopNext >

do…while statement has the following syntax:

statement-dowhile:
do
    statement-block
while (expr);
      

Evaluates statements and declarations in statement-block until expr becomes false. If expression is false at the first iteration, statements in statement block are evaluated exactly one time.

var i=10;
do
{
    int a;
    i = i - 1;
} while (i);
      
< PreviousTopNext >
Copyright © 2012 HHD Software. All rights reserved.