Bookshelf Home | Contents | Index | PDF |
Siebel eScript Language Reference > Siebel eScript Language Overview > Siebel eScript Statements > do...while StatementThe do...while statement processes a block of statements until a specified condition is met. Syntaxdo UsageThe do statement processes the statement_block repeatedly until condition is met. Because condition appears at the end of the loop, condition is tested for only after the loop executes. For this reason, a do...while loop is always executed at least one time before condition is checked. ExampleThis example increments a value and prints the new value to the screen until the value reaches 100. var value = 0; See Also |
Siebel eScript Language Reference |