Closed FilipToth closed 3 years ago
We finally allow for return statements in our functions!
function add(x : int, y : int) : int { return x + y }
function hello(name : string) { if (name == "test") return var message = "Hi, " + name + "!" print(message) }
What this does
We finally allow for return statements in our functions!
TODO:
Syntax