Bookshelf Home | Contents | Index | PDF |
Siebel VB Language Reference > Methods Reference for Siebel VB > Code Control Statements > While Wend StatementThe While Wend statement is a control structure that controls a repetitive action. It does not return a value. Siebel VB includes the While statement so that it is compatible with older versions of Visual Basic. If possible, it is recommended that you use the Do Loop statement instead. For more information, see Do Loop Statement. FormatWhile condition The following table describes the arguments that you can use with this method.
ExampleThe following example opens a series of files and looks for the following string in each file: This example uses the While Wend statement to loop through the (general) (declarations) Sub CreateFiles Sub Button_Click |
Siebel VB Language Reference | Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Legal Notices. | |