Bookshelf Home | Contents | Index | PDF |
Siebel eScript Language Reference > Siebel eScript Language Overview > Siebel eScript Statements > while StatementThe while statement executes a particular section of code repeatedly until an expression evaluates to false. Syntaxwhile (condition)
UsageThe condition must be enclosed in parentheses. If expression is true, the Siebel eScript interpreter executes the statement_block following it. Then the interpreter tests the expression again. A while loop repeats until condition evaluates to false, and the program continues after the code associated with the while statement. ExampleThe following fragment illustrates a while statement with two lines of code in a statement block: while(ThereAreUncalledNamesOnTheList() != false) |
Siebel eScript Language Reference |