Skip to content

Keyword: otherwise

Used as the default interrupt of an if statement.

glang
if 1 == 2 { # this condition is not true, so the otherwise block will be executed
    bark("math broke!");
} otherwise {
    bark("all systems working as usual");
}

George Language is licensed under the GPL v3 openly. Help improve this site.