Skip to main content
Flame has several types of functions. Basic variable declared as type varname = value :
But Flame also has const for constants and comptime for compile time variables:
And by the way, if you declare variable like i32 z; , it will not contain garbage if you try accessing it, because Flame assigns it to 0 by default. Also for function argument we have ref as immutable reference and mut ref as mutable: