Variables

Dynamic Variables

src/main.si
fn main() {
    let integer1: i32 = 22;
    let integer2 = 202;
    
    let boolean1: bool = false;
    let boolean2 = true;
}

Constant Variables

This section is not implemented yet.

src/main.si
fn main() {
    const integer1: i32 = 22;
    const integer2 = 202;
    
    const boolean1: bool = false;
    const boolean2 = true;
}

Last updated