90 likes | 241 Vues
This guide explores essential control flow structures in programming, including If, Then, Else, and Select Case statements. Learn how to use the Select Case statement to execute the first true condition, similar to the Switch structure in C++ and Java, which allows executing all matches until a break statement is encountered. Additionally, we cover loop structures like Do While, While Wend, and For Next loops, including how nested control statements function effectively. Perfect for beginners and seasoned developers!
E N D
If / Then T F
If Then Else T F
Select Case T The select case statement executes only the first true choice. The switch control structure is the C++ and Java equivalent. It, however, returns and executes all true conditions unless a break statement is provided. F T F T F
Do While While Wend T F Do / Loop While T F
For Next For I=1 to 10 T Step 1 F
Nested Control Statements If Then T For I=1 F to 10 T Step 1 F