If Statements - markpwns1/Dormez GitHub Wiki

If statements are exactly the same as in C#, with the exception that brackets are not required around the condition in Dormez.

if x > 0 {
    // ...
}
else if x < 0 {
    // ...
}
else {
    // ...
}