COMPUTER LANGUAGES HTML,C,C++.JAVA,.NET AND MULTIMEDIA basics and programs click home button
VB SCRIPT IF ELSEIF ELSE STATEMENTS
If..ElseIf..Else Statements
An If statement followed by one or more Else If Statements
that consists of boolean expressions and then followed by
a default else statement, which executes when all the
condition becomes false.
Syntax
The syntax of an If-ElseIf-Else statement in VBScript is:
If(boolean_expression) Then
Statement 1
.....
.....
Statement n
ElseIf (boolean_expression) Then
Statement 1
.....
....
Statement n
ElseIf (boolean_expression) Then
Statement 1
.....
....
Statement n
Else
Statement 1
.....
....
Statement n
End If
No comments:
Post a Comment