1 2 3 4 5 6 7 8 9 10 11 12
var a # No init. var b = 42 # Init. func test(): var c # No init, local. var d = 23 # Init, local. a = 1 c = 2 prints(a, b, c, d) print("OK")