tmp/tmpkj7jd36j/{from.md → to.md}
RENAMED
|
@@ -1,9 +1,11 @@
|
|
| 1 |
### The `if` statement <a id="stmt.if">[[stmt.if]]</a>
|
| 2 |
|
| 3 |
If the condition ([[stmt.select]]) yields `true` the first substatement
|
| 4 |
is executed. If the `else` part of the selection statement is present
|
| 5 |
and the condition yields `false`, the second substatement is executed.
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
statement
|
|
|
|
|
|
|
| 9 |
|
|
|
|
| 1 |
### The `if` statement <a id="stmt.if">[[stmt.if]]</a>
|
| 2 |
|
| 3 |
If the condition ([[stmt.select]]) yields `true` the first substatement
|
| 4 |
is executed. If the `else` part of the selection statement is present
|
| 5 |
and the condition yields `false`, the second substatement is executed.
|
| 6 |
+
If the first substatement is reached via a label, the condition is not
|
| 7 |
+
evaluated and the second substatement is not executed. In the second
|
| 8 |
+
form of `if` statement (the one including `else`), if the first
|
| 9 |
+
substatement is also an `if` statement then that inner `if` statement
|
| 10 |
+
shall contain an `else` part.[^1]
|
| 11 |
|