File tree 2 files changed +9
-6
lines changed
2 files changed +9
-6
lines changed Original file line number Diff line number Diff line change 1
1
---
2
- refs/heads/master: 92a716d862d92d3cc52a400457d2c3900d0c57a2
2
+ refs/heads/master: 5d98f55fcf0c88372101eb137e2cd1c75e00f1a2
Original file line number Diff line number Diff line change @@ -3310,11 +3310,14 @@ for each (str s in _str.split(txt, "\n")) @{
3310
3310
3311
3311
An @code {if } statement is a conditional branch in program control. The form of
3312
3312
an @code {if } statement is a parenthesized condition expression, followed by a
3313
- consequent block, and an optional trailing @code {else } block. The condition
3314
- expression must have type @code {bool }. If the condition expression evaluates
3315
- to @code {true }, the consequent block is executed and any @code {else } block is
3316
- skipped. If the condition expression evaluates to @code {false }, the consequent
3317
- block is skipped and any @code {else } block is executed.
3313
+ consequent block, any number of @code {else if } conditions and blocks, and an
3314
+ optional trailing @code {else } block. The condition expressions must have type
3315
+ @code {bool }. If a condition expression evaluates to @code {true }, the
3316
+ consequent block is executed and any subsequent @code {else if } or @code {else }
3317
+ block is skipped. If a condition expression evaluates to @code {false }, the
3318
+ consequent block is skipped and any subsequent @code {else if } condition is
3319
+ evaluated. If all @code {if } and @code {else if } conditions evaluate to @code {false }
3320
+ then any @code {else } block is executed.
3318
3321
3319
3322
@node Ref.Stmt.Alt
3320
3323
@subsection Ref.Stmt.Alt
You can’t perform that action at this time.
0 commit comments