June 2024
Beginner
976 pages
16h 34m
English
This is the simplest decision control structure. It includes a statement or block of statements on the “True” path only, as presented in the following flowchart fragment, given in general form.

If Boolean_Expression evaluates to True, the statement, or block of statements, of the structure is executed; otherwise, the statements are skipped.
The general form of the Visual Basic statement is
Note that the statement or block of statements is indented by 2 spaces.
In the next example, ...
Read now
Unlock full access