global variables
Opened this issue · 0 comments
awestlake87 commented
global int a_global: 3
fun int set_a_global(int val)
return a_global = val
if a_global != 3
return 1
set_a_global(43)
if a_global != 43
return 2
return 0
Opened this issue · 0 comments
global int a_global: 3
fun int set_a_global(int val)
return a_global = val
if a_global != 3
return 1
set_a_global(43)
if a_global != 43
return 2
return 0