The if statement execute one of its nested statements according to the evaluation of its boolean condition.
There are two variants for the if statement. In the first variant, there are two dependent statements:
if condition then statement else statement
The second variant only provides one statement, that must be executed when the condition evaluates as true.
if condition then statement
The Freya Programming Language
Statements
case statements
Expressions
Conditional expressions