Module 6

Controlling Program Flow

In this chapter, you learned how to use the If control structure together with the 
comparison operators to control program flow. 
 In section 7.1, you learned how to use the conditional operators in VB2010 such 
as =, <,>, >=, <= and <>.
 In section 7.2, you learned how to use the logical operators And, Or, Xor and 
Not. 
 In section 7.3, you learned how to implement three types of If control structure, 
i.e. If...Then, If...Then...Else and If...Then...ElseIf


Select Case Control Structure

In this chapter, you learned how to control program flow using the Select Case control 
structure. You also learned how to write code for the practical usage of the Select Case 
control structure, such as the program that processed examination marks.

Looping

Summary 
 In section 9.1, you learned how to write code for the For...Next loop. The loop 
stops when a condition is met. You also learned how to use Exit For to exit 
the loop.
 In section 9.2, you learned how to write code for the Do loop procedure. You 
also learned how to use Exit Do to exit the loop. 
 In section 9.3, you learned how to write code for the While...End While loop. 
You also learned that the loop stops when a condition is met. 

Comments

Popular posts from this blog

Module 3

module 7