|
|
# If blocks
|
|
|
|
|
|
Exactly like C or C++, except without the parenthesis. The curly braces are required, however.
|
|
|
|
|
|
```
|
|
|
if a < b {
|
|
|
foo_bar();
|
|
|
}
|
|
|
```
|
|
|
|
|
|
# While loops
|
|
|
|
|
|
Exactly like C or C++, except without the parenthesis. The curly braces are required, however.
|
|
|
|
|
|
```
|
|
|
if a < b {
|
|
|
foo_bar();
|
|
|
}
|
|
|
```
|
|
|
|
|
|
# For loops
|
|
|
|
|
|
# Do while loops |
|
|
\ No newline at end of file |