2022-11-09 julia global変数の定義 julia a=[1,2,3] function ff(x,y) global a z=x+y+a[1] return z end @show(ff(3,4)) pythonと同じ