|
|
4 éve | |
|---|---|---|
| .. | ||
| README.md | 93e7a37493 Start updating control flow design (#544) | 4 éve |
| conditionals.md | 93e7a37493 Start updating control flow design (#544) | 4 éve |
| loops.md | 93e7a37493 Start updating control flow design (#544) | 4 éve |
| return.md | 93e7a37493 Start updating control flow design (#544) | 4 éve |
Blocks of statements are generally executed linearly. However, statements are the primary place where this flow of execution can be controlled.
Carbon's flow control statements are:
if and else provides conditional execution of
statements.return ends the flow of execution within a function,
returning it to the caller.