Example

Functions

Return a boolean from a comparison helper.

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

define func compare(num y, decimal z);
    if y sameas z;
        return true;
    else;
        return false;
    end;
end;

define boolean isTheSame is call compare(50, 50.0);
showln isTheSame;