Example

Comparisons

Every comparison keyword in one chain.

Save this as a .alana file, then alana filename.alana. And start coding cute.

define num x is 50;
define num y is 60;

if x sameas y;
    showln x;
elseif x greaterthan y;
    showln x;
elseif x lessthan y;
    showln x;
elseif x leorsame y;
    show x;
elseif x grorsame y;
    showln x;
elseif not x sameas y;
    showln x;
else;
    showln y;
end;