Conditional Branching of Oxide
Branching syntax consists of a condition followed by a body. The condition is written without parentheses.
Examples:
if n % 2 == 0 {
let evenness = 1;
} else {
let evenness = 0;
}
Branching syntax consists of a condition followed by a body. The condition is written without parentheses.
Examples:
if n % 2 == 0 {
let evenness = 1;
} else {
let evenness = 0;
}