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();
}