Low cost ecommerce web development India flash website design
If condition1 is true, codeblock1 is executed. If it is false, and condition2
is
true, codeblock 2 is executed. If condition1 and condition2 are both false,
codeblock3 executes. An If-Then construct may have zero or more ElseIf
statements, and zero or one Else statements.
In place of some really complex If ...Then constructs, you can use a Select
Case statement. It takes the following form:
Select Case variable
Case choice1
codeblock1
Case choice2
codeblock2
Case choicen
codeblockn
Case default
default code block
End Select
This compares the value of variable with choicel, choice2, and so on. If it
finds a match, it executes the code associated with that choice. If it does
not, it
executes the default code.
Freelance web designer ASP PHP ecommerce web development India