Bookshelf Home | Contents | Index | PDF |
Siebel VB Language Reference > Methods Reference for Siebel VB > Code Control Statements > If Then Else StatementThe If Then Else statement is a control structure that runs a block of code according to one or more expressions. It does not return a value. Format AIf condition Then then_statement [Else else_statement] Format BIf condition Then If you require multiple statements in the Then clause or in the Else clause, then you must use Format B. ArgumentsThe following table describes the arguments that you can use with this method. ExampleThe following example examines the time and the day of the week and returns a message: Sub Button_Click |
Siebel VB Language Reference | Copyright © 2015, Oracle and/or its affiliates. All rights reserved. Legal Notices. | |