Example

If / elseif / else

Compound conditions with or and and.

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

define num x is 50;

if x sameas 40 or x sameas 30;
    showln true;
elseif x greaterthan 60 and x lessthan 70;
    showln true;
else;
    showln false;
end;