Bookshelf Home | Contents | Index | PDF |
Siebel VB Language Reference > VB Language Reference > Do...Loop StatementThis standard VB control structure repeats a series of program lines as long as (or until) an expression is TRUE. Syntax ADo [{ While|Until } condition] Syntax BDo
ReturnsUsageWhen an Exit Do statement is executed, control goes to the statement after the Loop statement. When used within a nested loop, an Exit Do statement moves control out of the immediately enclosing loop. ExampleFor examples, read Dir Function, Eof Function, and Err Function. See Also |
Siebel VB Language Reference |