aboutsummaryrefslogtreecommitdiff
path: root/examples/hello.sloth
blob: 8b395e841212da5b6d1f6dbaf28f2fb1bfce893d (plain)
1
2
3
4
5
6
7
8
9
fn main() {
    var i: Int = 10;
    var j: Int = 1.0 - 1;
    while i > j {
        i = i - 1;
    }
    example(i);
}