View on GitHub

Concert

Concert is an imperative, concurrent, strongly typed scripting language

Download this project as a .zip file Download this project as a tar.gz file

Home Keywords

Keyword else

Description

Declares the alternative branch to an if statement. This branch is executed if its corresponding if statement fails.

Example

const double E_TRUNCATED = 2.71;
const double PI_TRUNCATED = 3.14;

if E_TRUNCATED > PI_TRUNCATED;
    println "This print will never execute.";
else;
    println "Statements in this block will be executed as the above if statement fails.";
end;