May 2010
Intermediate to advanced
1272 pages
61h 18m
English
If..Then..ElseThe If..Then..Else is the most classical block for conditionally executing actions. An If evaluates an expression as True or False and according to this allows specifying actions to take. Listing 4.7 shows an example.
Listing 4.7 Demonstrating the If..Then..Else Block

If checks if the condition is True; if so, it takes the specified action. Of course you can also specify to evaluate a condition for False (for example, If something = False Then). You can also use an ElseIf to delimit the condition evaluation. If no expression satisfies the condition, the Else statement provides an action that will be executed ...
Read now
Unlock full access