Skip to content

Latest commit

 

History

History
25 lines (17 loc) · 189 Bytes

Loops.md

File metadata and controls

25 lines (17 loc) · 189 Bytes

Loops

// For loop

fn main() {

    for var a: i64 = 0; a < 1000; a++; {
        pass
    }

}
// While loop

fn main() {

    while true {
        pass
    }

}