June 2024
Beginner
976 pages
16h 34m
English
All you have learned so far is the sequence control structure, where statements are executed sequentially, in the same order in which they appear in the program. However, in serious Visual Basic programming, rarely do you want the statements to be executed sequentially. Many times you want a block of statements to be executed in one situation and an entirely different block of statements to be executed in another situation.
Let's say that variable x contains a value of 5. This means that if you ask the question “is x greater than 2?” the answer is obviously “Yes”. For a computer, these questions are called Boolean expressions. For example, if you write x > 2, this ...
Read now
Unlock full access