Skip to content

Declaration

Declaration operator (:=) is used to declare a variable in the enclosing lexical scope. Variables cannot be re-declared.

Syntax
variable := expr
Example
a := 2
b := 3